Where to add functions and code snippets in wordpress


I am very new to wordpress coding so I am in process of learning it.

I came across this solution but I am not sure where to add this function snippet to my wordpress:

if( wp_get_referer() )
  echo '<a href="'<?php wp_get_referer() ?> '" >BACK</a>';
Zanam 2 months 0 Answers 11 views 0

Leave an answer