undefined function: add_submenu_page (1 post)

  1. chaaban
    Posted 10 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic