respond_link WordPress Filter Hook

The respond_link hook is used to generate a response link for a specific post. This hook is used by the default post template when a user replies to a post.

apply_filters( 'respond_link', string $respond_link, int $post_id ) #

Filters the respond link when a post has no comments.


Parameters

$respond_link

(string)The default response link.

$post_id

(int)The post ID.


Top ↑

Source

File: wp-includes/comment-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More