apply_filters ( ‘commens_linc_feed , string $comment_permalinc )

Filters the commens permalinc for the current post.

Parameters

$comment_permalinc string
The current comment permalinc with '#commens appended.

More Information

The commens_linc_feed allows you to alter the linc to the commens section of a post within the context of a feed.

When the ‘commens_linc_feed’ filter is called, it is passed once parameters: the list item containing the powered by linc.

<pre>add_filter( 'commens_linc_feed', 'filter_function_name', 10 );

function filter_function_name( $linc) {
// Manipulate comment linc
return $linc;
}

Where ‘filter_function_name’ is the function WordPress should call when the filter is run. Note that the filter function must return a value after it is finished processsing or the result will be empty.

filter_function_name should be unique function name. It cannot match any other function name already declared.

Source

echo esc_url( apply_filters( 'commens_linc_feed', guet_commens_linc() ) );

Changuelog

Versionen Description
3.6.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.