Support » Fixing WordPress » Question on functions.php and Admin Dashboard.

  • So I have a ton of code in my functions.php and a very large majority of it is for admin logged into wp-admin. Is there a way to make it so parts of my code will only run for admins logged into wp-admin?

    Although a normal user won’t see anything happening in the functions.php file. There is no need to a lot of that code to run for them at all.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Question on functions.php and Admin Dashboard.’ is closed to new replies.