-
-
Notifications
You must be signed in to change notification settings - Fork 31
webmention_comment_string
github-actions[bot] edited this page Jan 3, 2026
·
1 revision
Filters the returned comment type string.
/**
* Filters the returned comment type string.
*
* @param string $name
* @param string $type
* @return string The filtered value.
*/
function my_webmention_comment_string_callback( string $name, string $type ) {
// Your code here.
return $name;
}
add_filter( 'webmention_comment_string', 'my_webmention_comment_string_callback', 10, 2 );-
string$nameThe name of the comment type -
string$typeThe comment type.
apply_filters( 'webmention_comment_string', $name, $type )