WordPress.org

Support

Support » Installation » undefined function: add_submenu_page

undefined function: add_submenu_page

  • Fatal error: Call to undefined function: add_submenu_page() /public_html/wp-content/plugins/bibtex.php on line 174

    can someone tell me why this call of function dident work ? even if its in the codex

    but when i did this :

    function hello___world () {
    add_submenu_page(‘post.php’, ‘BibTex Db Insertion’,’BibTex’, 8, __FILE__,’mt_options_page’);
    }

    add_action (‘admin_menu’, ‘hello___world’);

    It worked

  • The topic ‘undefined function: add_submenu_page’ is closed to new replies.
Skip to toolbar