W3cubDocs

/WordPress

apply_filters( ‘navigation_widgets_format’, string $format )

Filters the HTML format of widgets with navigation links.

Parameters

$formatstring
The type of markup to use in widgets with navigation links.
Accepts 'html5', 'xhtml'.

Source

$format = apply_filters( 'navigation_widgets_format', $format );

Changelog

Version Description
5.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/navigation_widgets_format