Docs: Add a summary to the hook doc for the nav_menu_item_args
filter, introduced in [34471].
Fixes #29417. git-svn-id: https://develop.svn.wordpress.org/trunk@34481 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3a8f42bfe0
commit
4d94ef47de
@ -86,10 +86,12 @@ class Walker_Nav_Menu extends Walker {
|
||||
$classes[] = 'menu-item-' . $item->ID;
|
||||
|
||||
/**
|
||||
* Filter the arguments for a single nav menu item.
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param array $args An array of arguments.
|
||||
* @param object $item Menu item data object.
|
||||
* @param array $args An array of arguments.
|
||||
* @param object $item Menu item data object.
|
||||
*/
|
||||
$args = apply_filters( 'nav_menu_item_args', $args, $item );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user