Skip to content
github-actions[bot] edited this page Jun 23, 2026 · 3 revisions

Fires after a webmention is updated in the database.

The hook is needed as the comment_post hook uses filtered data

Auto-generated Example

/**
 * Fires after a webmention is updated in the database.
 * 
 * The hook is needed as the comment_post hook uses filtered data.
 *
 * @param int   $comment_ID 
 * @param array $data 
 */
function my_edit_webmention_callback( int $comment_ID, array $data ) {
    // Your code here.
}
add_action( 'edit_webmention', 'my_edit_webmention_callback', 10, 2 );

Parameters

  • int $comment_ID The comment ID.
  • array $data Comment data.

Files

do_action( 'edit_webmention', $commentdata['comment_ID'], $commentdata )

← All Hooks

Clone this wiki locally