-
-
Notifications
You must be signed in to change notification settings - Fork 31
webmention_update_message
github-actions[bot] edited this page Jun 23, 2026
·
2 revisions
Filters the message that is returned when a Webmention already exists and was updated.
/**
* Filters the message that is returned when a Webmention already exists and was updated.
*
* @param string $message
* @return string The filtered value.
*/
function my_webmention_update_message_callback( string $message ) {
// Your code here.
return $message;
}
add_filter( 'webmention_update_message', 'my_webmention_update_message_callback' );-
string$messageThe update message.
apply_filters( 'webmention_update_message', esc_html__( 'You already sent a Webmention for this target. The existing Webmention has been updated.', 'webmention' ) )