in WP Core File wp-includes/link-template.php at line 3040
Description
Filters the navigation markup template. Note: The filtered template HTML must contain specifiers for the navigation class (%1$s), the screen-reader-text value (%2$s), placement of the navigation links (%3$s), and ARIA label text if screen-reader-text does not fit that (%4$s):
Occurrences
Filename
Line Number
wp-includes/link-template.php
3040
Parameters
Type
Name
Description
string
$template
The default template.
string
$css_class
The class passed by the calling function.
PHP Doc
/**
* Filters the navigation markup template.
*
* Note: The filtered template HTML must contain specifiers for the navigation
* class (%1$s), the screen-reader-text value (%2$s), placement of the navigation
* links (%3$s), and ARIA label text if screen-reader-text does not fit that (%4$s):
*
*
*
* @since 4.4.0
*
* @param string $template The default template.
* @param string $css_class The class passed by the calling function.
* @return string Navigation template.
*/