Using functions for a particular hook eg-admin_menu
I am new to developing a plugin for Wordpress . I read some code on codex for developing Administration menus . Basically
- I used a admin_menu hook.
- Then I added a top level menu by using add_menu_page.
- Then a submenu to the top level menu by using add_submenu_page.
- So what we are doing is interacting with admin_menu hook function to add functionality before the admin panel is loaded .
- I got the function add_menu_page and add_submenu_page from Codex but I want to know which other functions I can use for adding more functionality to this particular hook.
- I am searching for reference to functions that i can use with any particular hooks to create a plugin开发者_JAVA技巧.
- I find this the approach that I should use , is there and other approach that anyone can advise .
Here are two great resources:
http://hitchhackerguide.com/function-filter-action-index/
http://codex.wordpress.org/Plugin_API
精彩评论