首页 WordPress函数大全 get_the_comments_navigation()

get_the_comments_navigation()

2020-05-01 / 5024阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_the_comments_navigation( array $args = array() )

Retrieves navigation to next/previous set of comments, when applicable.

描述

参数

$args

(array)
(Optional)
Default comments navigation arguments.

  • 'prev_text'
    (string) Anchor text to display in the previous comments link. Default 'Older comments'.
  • 'next_text'
    (string) Anchor text to display in the next comments link. Default 'Newer comments'.
  • 'screen_reader_text'
    (string) Screen reader text for the nav element. Default 'Comments navigation'.
  • 'aria_label'
    (string) ARIA label text for the nav element. Default 'Comments'.

Default value: array()

返回

(string) Markup for comments links.

大家谈论
    我的见解