_navigation_markup


_navigation_markup ( $links, $class = 'posts-navigation', $screen_reader_text = '', $aria_label = '' )

Access:
  • private
Parameters:
  • (string) links Navigational links.
  • (string) class Optional. Custom class for the nav element. Default: 'posts-navigation'.
  • (string) screen_reader_text Optional. Screen reader text for the nav element. Default: 'Posts navigation'.
  • (string) aria_label Optional. ARIA label for the nav element. Default: same value as $screen_reader_text.
Returns:
  • (string) Navigation template tag.
Defined at:
Change Log:
  • 5: .

Description

Wraps passed links in navigational markup.

Related Functions

the_post_navigation, the_posts_navigation, get_compat_media_markup, get_the_post_navigation, the_comments_navigation

Top Google Results

User discussions

wpseek mobile