Clanbite Players

do_action( 'clanbite_before_profile_avatar_fields', int $user_id )

Fires before the avatar and cover upload fields on the Profile Info settings panel.

Action PHP

Parameters

$user_id (int)

Profile owner user ID.

Example

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

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

Changelog

VersionDescription
1.3.0Updated.