Menu::has_callback( array $menu_item )

Check if a menu item’s callback is registered in the menu.


Description Description


Parameters Parameters

$menu_item

(Required) Menu item args.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: packages/woocommerce-admin/src/Features/Navigation/Menu.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.