Title: undefined function: add_submenu_page
Last modified: August 18, 2016

---

# undefined function: add_submenu_page

 *  [chaaban](https://wordpress.org/support/users/chaaban/)
 * (@chaaban)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/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.

## Tags

 * [add_submenu_page](https://wordpress.org/support/topic-tag/add_submenu_page/)
 * [function](https://wordpress.org/support/topic-tag/function/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 0 replies
 * 1 participant
 * Last reply from: [chaaban](https://wordpress.org/support/users/chaaban/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/undefined-function-add_submenu_page/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
