navigation_widgets_format WordPress Filter Hook
The navigation_widgets_format hook is used to format the navigation widgets on a WordPress site. This hook is called by the_widget() function.
apply_filters( 'navigation_widgets_format', string $format ) #
Filters the HTML format of widgets with navigation links.
Parameters
- $format
(string)The type of markup to use in widgets with navigation links. Accepts 'html5', 'xhtml'.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |