-2

My function.php ends with this line:

<?php } // this ends the admin page ?>

If I want to add any new code to my function.php, where should I paste it? Just BEFORE the closing tag ?> or AFTER the closing tag.

I mean just before ?> In other words, just after the the word 'page'.

user29769
  • 91
  • 1
  • 4

1 Answers1

0

delete this ?> it is not necessary. Put your code in the very last line...

Chintan Bhatt
  • 257
  • 1
  • 3
  • 9