ACF_Location_User_Role::initialize │ public │ ACF 5.0.0

initialize

Sets up the class functionality.

Method of the class: ACF_Location_User_Role{}

No Hooks.

Returns

void. Nothing (null).

Usage

$ACF_Location_User_Role = new ACF_Location_User_Role();
$ACF_Location_User_Role->initialize();

Changelog

Since 5.0.0 Introduced.

ACF_Location_User_Role::initialize() code ACF 6.8.8

function initialize() {
	$this->name        = 'user_role';
	$this->label       = __( 'User Role', 'acf' );
	$this->category    = 'user';
	$this->object_type = 'user';
}