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.7.1

apply_filters('customize_nav_menu_available_item_types') is found 1 times:

  • /wp-includes/class-wp-customize-nav-menus.php line 929
    		 * @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: