block_core_navigation_add_directives_to_submenu
block_core_navigation_add_directives_to_submenu ( $tags, $block_attributes )
Parameters:- (WP_HTML_Tag_Processor) tags Markup of the navigation block.
- (array) block_attributes Block attributes.
Returns:- (string) Submenu markup with the directives injected.
Defined at: - Introduced in WordPress: 6.3.0
- Deprecated in WordPress: —
Description
Add Interactivity API directives to the navigation-submenu and page-list
blocks markup using the Tag Processor.