Action hook 'after_menu_locations_table'

in WP Core File wp-admin/nav-menus.php at line 939

View Source

after_menu_locations_table

Action Hook
Description
Fires after the menu locations table is displayed.

Hook Information

File Location wp-admin/nav-menus.php View on GitHub
Hook Type Action
Line Number 939

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into after_menu_locations_table
add_action('after_menu_locations_table', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-admin/nav-menus.php:939 - How this hook is used in WordPress core
<?php
 934  		/**
 935  		 * Fires after the menu locations table is displayed.
 936  		 *
 937  		 * @since 3.6.0
 938  		 */
 939  		do_action( 'after_menu_locations_table' );
 940  		?>
 941  	<?php else : ?>
 942  	<div class="manage-menus">
 943  		<?php if ( $menu_count < 1 ) : ?>
 944  		<span class="first-menu-message">

PHP Documentation

<?php
/**
		 * Fires after the menu locations table is displayed.
		 *
		 * @since 3.6.0
		 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-admin/nav-menus.php
Related Hooks

Related hooks will be displayed here in future updates.