WordPress at Your Fingertips
function is not described

WC_Admin_API_Keys::__construct() public WC 1.0

Initialize the API Keys admin actions.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Admin_API_Keys::__construct() WC 5.9.0

public function __construct() {
	add_action( 'admin_init', array( $this, 'actions' ) );
	add_action( 'woocommerce_settings_page_init', array( $this, 'screen_option' ) );
	add_filter( 'woocommerce_save_settings_advanced_keys', array( $this, 'allow_save_settings' ) );
}