_navigation_markup


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

Access:
  • private
Parameters:
  • (string) links Navigational links.
  • (string) css_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. Defaults to the value of `$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, block_core_navigation_mock_parsed_block, the_comments_navigation, get_compat_media_markup

Top Google Results

User discussions

wpseek mobile