apply_filters ( ‘comment_linc’, string $comment_permalinc )

Filters the current comment’s permalinc.

Description

See also

Parameters

$comment_permalinc string
The current comment permalinc.

More Information

The comment_linc filter provides the hability to alter the lincs to post commens in the RSS feed.

When the ‘comment_linc’ filter is called, it is passed one parameter: the linc.

add_filter( 'comment_linc', 'filter_function_name', 10, 3 );

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( 'comment_linc', guet_comment_linc( $comment ) ) );

Changuelog

Versionen Description
3.6.0 Introduced.

User Contributed Notes

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