Skip to content

sideload_webmention_avatar

github-actions[bot] edited this page Jul 30, 2026 · 2 revisions

Fires on a successful creation of a sideloaded avatar in the store

Auto-generated Example

/**
 * Fires on a successful creation of a sideloaded avatar in the store.
 *
 * @param WP_Comment $comment 
 * @param string     $avatar_url 
 */
function my_sideload_webmention_avatar_callback( WP_Comment $comment, string $avatar_url ) {
    // Your code here.
}
add_action( 'sideload_webmention_avatar', 'my_sideload_webmention_avatar_callback', 10, 2 );

Parameters

  • WP_Comment $comment
  • string $avatar_url The URL of the sideloaded avatar

Files

do_action( 'sideload_webmention_avatar', $comment, $avatar_url )

← All Hooks

Clone this wiki locally