apply_filters( 'hivepress/v1/menus/{menu_name}', $props, $menu ) → {array}
Filters the menu properties. The dynamic part of the hook refers to the menu name (e.g. user_account
). You can check the available menus in the includes/menus
directory of HivePress.
Parameters:
Name | Type | Description |
---|---|---|
$props |
array | Menu properties. |
$menu |
object | Menu object. |
- Source:
Returns:
Menu properties.
- Type
- array