Undefined function add_submenu_page
-
I’m trying to code a plug-in, just something so that I can learn how to do such a thing. I’ve coded one plug-in already which works great. However, I’m totally stuck on the next.
My code is below and I’m getting the following error:
Fatal error: Call to undefined function add_submenu_page() in C:\web\www\kelly\wp-content\plugins\biography\index.php on line 47The error is confusing because it’s almost the same as the other plug-in I made. What am I missing?
[Code moderated as per the Forum Rules. Please use the pastebin]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Undefined function add_submenu_page’ is closed to new replies.