filter
davo_default_navigation_menu_items
Filters the default menu items seeded into the Main Navigation menu.
| Parameter | Type | Description |
|---|---|---|
| $items | array<int, array<string, mixed>> | Ordered menu item tree. |
add_filter( 'davo_default_navigation_menu_items', 'my_filter_callback', 10, 1 );
/**
* @param array<int, array<string, mixed>> $items
*/
function my_filter_callback( $items ) {
// Change $items as needed, then return it.
return $items;
}src/initializers/installation.php:173