Skip to content

webmention_comment_string

github-actions[bot] edited this page Jan 3, 2026 · 1 revision

Filters the returned comment type string.

Auto-generated Example

/**
 * 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 );

Parameters

  • string $name The name of the comment type
  • string $type The comment type.

Files

apply_filters( 'webmention_comment_string', $name, $type )

← All Hooks

Clone this wiki locally