WordPress как на ладони
Новые WordPress шаблоны Хостинг, VPS/VDS и отдельные сервера только на SSD дисках. 7 дней бесплатного тестирования.
фильтр не описан

navigation_markup_template хук-фильтр . WP 4.4.0

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), and placement of the navigation links (%3$s):

<nav class="navigation %1$s" role="navigation">
	<h2 class="screen-reader-text">%2$s</h2>
	<div class="nav-links">%3$s</div>
</nav>

Использование

add_filter( 'navigation_markup_template', 'filter_function_name_1252', 10, 2 );
function filter_function_name_1252( $template, $class ){
	// filter...

	return $template;
}
$template(строка)
The default template.
$class(строка)
The class passed by the calling function.

Где используется хук

Код хука

Фрагмент из: wp-includes/link-template.php VER 4.9.8
...
	 * Note: The filtered template HTML must contain specifiers for the navigation
	 * class (%1$s), the screen-reader-text value (%2$s), and placement of the
	 * navigation links (%3$s):
	 *
	 *     <nav class="navigation %1$s" role="navigation">
	 *         <h2 class="screen-reader-text">%2$s</h2>
	 *         <div class="nav-links">%3$s</div>
	 *     </nav>
	 *
	 * @since 4.4.0
	 *
	 * @param string $template The default template.
	 * @param string $class    The class passed by the calling function.
	 * @return string Navigation template.
	 */
	$template = apply_filters( 'navigation_markup_template', $template, $class );

	return sprintf( $template, sanitize_html_class( $class ), esc_html( $screen_reader_text ), $links );
}

/**
 * Retrieves the comments page number link.
 *
 * @since 2.7.0
 *
 * @global WP_Rewrite $wp_rewrite
 *
 * @param int $pagenum  Optional. Page number. Default 1.
 * @param int $max_page Optional. The maximum number of comment pages. Default 0.
 * @return string The comments page number link URL.
 */
...