customize_nav_menu_available_item_types

customize_nav_menu_available_item_types

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('customize_nav_menu_available_item_types') is found 1 times:

  • /wp-includes/class-wp-customize-nav-menus.php line 927
    		 * @since 4.7.0  Each array item now includes a `$type_label` in addition to `$title`, `$type`, and `$object`.
    		 *
    		 * @param array $item_types Navigation menu item types.
    		 */
    		$item_types = apply_filters( 'customize_nav_menu_available_item_types', $item_types );
    
    		return $item_types;
    	}
    
    	/**
    	 * Adds a new `auto-draft` post.
    

See this hook used in plugins: