Clanbite Players

do_action( 'clanbite_player_cover_updated', int $user_id, int $attachment_id )

Fires after the player successfully uploads a new profile cover attachment.

Action PHP

Parameters

$user_id (int)

Profile owner user ID.

$attachment_id (int)

New attachment ID.

Example

add_action( 'clanbite_player_cover_updated', function ( $user_id, $attachment_id ) {
	// Run your code.
}, 10, 2 );

Defined in inc/extensions/players/class-extension-players.php