Clanbite Players Since 1.6.3

do_action( 'clanbite_player_avatar_removed', int $user_id )

Fires after a player removed their avatar (the default avatar is shown again).

Action PHP

Parameters

$user_id (int)

Player.

Example

add_action( 'clanbite_player_avatar_removed', function ( $user_id ) {
	// Run your code.
}, 10, 1 );

Defined in inc/extensions/players/class-player-media.php

Changelog

VersionDescription
1.6.3Introduced.