call to undefined function bloginfo()
-
I really cant understand why this has happened. I’m developing a plugin and have an admin display page in /plugins/myfolder/admin/partials/admin-general.php and the only piece of code I have on it is bloginfo()
the page loads but will not find the global scope of wordpress and it is not available. No matter what function I call it var_dumps as null. The error is not caught by Query Monitor and it seems as if I am outside the scope of WP yet it is managing to find the page.
Is there a way to bring the page into the scope of wordpress? there is no code as such as all I’m using is <?php bloginfo(‘name’) ?>
I am confused because WordPress will ouput the HTML and create the page within admin but I have no scope within WP and can not access the $post loop etc
any idea’s anyone please ๐
The topic ‘call to undefined function bloginfo()’ is closed to new replies.