WordPress at Your Fingertips
function is not described

WC_Admin_Profile::__construct() public WC 1.0

Hook in tabs.

{} It's a method of the class: WC_Admin_Profile{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Admin_Profile = new WC_Admin_Profile();
$WC_Admin_Profile->__construct();

Code of WC_Admin_Profile::__construct() WC 5.8.0

public function __construct() {
	add_action( 'show_user_profile', array( $this, 'add_customer_meta_fields' ) );
	add_action( 'edit_user_profile', array( $this, 'add_customer_meta_fields' ) );

	add_action( 'personal_options_update', array( $this, 'save_customer_meta_fields' ) );
	add_action( 'edit_user_profile_update', array( $this, 'save_customer_meta_fields' ) );
}