unregister_nav_menu [ WordPress Function ]
unregister_nav_menu ( $location )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: register_nav_menu, register_nav_menus, get_registered_nav_menus, is_nav_menu, unregister_setting
Unregisters a navigation menu for a theme.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/unregister nav menu « WordPress Codex
Function Reference/unregister nav menu ... <?php unregister_nav_menu( $ location ); ?> ... unregister_nav_menu() is located in wp-includes/nav-menu.php .
codex.wordpress.org - How to remove a nav menu location in WordPress 3.0.0
Jun 21, 2010 ... This function is in WordPress 3.0.1. You can now just call unregister_nav_menu and don't need to put it in your child theme One of the great ...
aaron.jorb.in - unregister_nav_menu (WordPress Function) - WPSeek.com
WordPress lookup for unregister_nav_menu, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - menus - How to properly pass the unregister_nav_menu hook ...
Jun 2, 2011 ... What is the proper way to use the unregister_nav_menu hook? In summary here is what I'm doing now: function onlyiol_deactivate() { global ...
wordpress.stackexchange.com
<code>
add_action( \'init\', \'my_unregister_menus\' );
function my_unregister_menus() {
unregister_nav_menu(\'secondary\');
unregister_nav_menu(\'social\');
}
</code>