On this page
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
File: wp-includes/widgets/class-wp-nav-menu-widget.php. View all references
$format = apply_filters( 'navigation_widgets_format', $format );
Related
Used By
| Used By | Description |
|---|---|
| WP_Nav_Menu_Widget::widget() wp-includes/widgets/class-wp-nav-menu-widget.php | Outputs the content for the current Navigation Menu widget instance. |
| WP_Widget_Tag_Cloud::widget() wp-includes/widgets/class-wp-widget-tag-cloud.php | Outputs the content for the current Tag Cloud widget instance. |
| WP_Widget_RSS::widget() wp-includes/widgets/class-wp-widget-rss.php | Outputs the content for the current RSS widget instance. |
| WP_Widget_Recent_Comments::widget() wp-includes/widgets/class-wp-widget-recent-comments.php | Outputs the content for the current Recent Comments widget instance. |
| WP_Widget_Recent_Posts::widget() wp-includes/widgets/class-wp-widget-recent-posts.php | Outputs the content for the current Recent Posts widget instance. |
| WP_Widget_Categories::widget() wp-includes/widgets/class-wp-widget-categories.php | Outputs the content for the current Categories widget instance. |
| WP_Widget_Meta::widget() wp-includes/widgets/class-wp-widget-meta.php | Outputs the content for the current Meta widget instance. |
| WP_Widget_Archives::widget() wp-includes/widgets/class-wp-widget-archives.php | Outputs the content for the current Archives widget instance. |
| WP_Widget_Pages::widget() wp-includes/widgets/class-wp-widget-pages.php | Outputs the content for the current Pages widget instance. |
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/navigation_widgets_format