Clanbite Players

do_action( 'clanbite_before_profile_info_fields', int $user_id, \WP_User $user )

Fires before the fields on the Profile Info settings panel.

Action PHP

Parameters

$user_id (int)

Profile owner user ID.

$user (\WP_User)

Profile owner.

Example

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

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

Changelog

VersionDescription
1.3.0Updated.