Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/ajax-actions.php | apply_filters | 1561 | /** * Ajax handler for adding a menu item. * * @since 3.1.0 */ |
wp-admin/includes/nav-menu.php | apply_filters | 1059 | /** * Filters the Walker class used when adding nav menu items. * * @since 3.0.0 * * @param string $class The walker class to use. Default 'Walker_Nav_Menu_Edit'. * @param int $menu_id ID of the menu being rendered. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $class | The walker class to use. Default 'Walker_Nav_Menu_Edit'. |
int | $menu_id | ID of the menu being rendered. |