• Resolved Peter K

    (@dragy)


    Hi

    when I use “exit();” in my PHP code WordPress’s admin bar is blank space. Is that a bug or a feature?
    P.S.: of course it’s the same with die();

    thanks

    • This topic was modified 4 years, 2 months ago by Peter K.
Viewing 1 replies (of 1 total)
  • Plugin Support Temyk

    (@webtemyk)

    Hello.

    Using exit() in PHP code, you completely stop the execution of the site code. Try using return;

Viewing 1 replies (of 1 total)
  • The topic ‘WP’s admin bar is blank with exit();’ is closed to new replies.