You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Jun 10, 2026
·
2 revisions
Fires when the cron-deferred encoder fails to produce a
hash for an attachment. Monitoring integrations can hook
this to count blurhash-encode failures over time.
Auto-generated Example
/** * Fires when the cron-deferred encoder fails to produce a * hash for an attachment. Monitoring integrations can hook * this to count blurhash-encode failures over time. * * @param int $attachment_id */functionmy_activitypub_blurhash_encode_failed_callback( int$attachment_id ) {
// Your code here.
}
add_action( 'activitypub_blurhash_encode_failed', 'my_activitypub_blurhash_encode_failed_callback' );
Parameters
int$attachment_id The attachment ID that failed to encode.