WC_Admin_Setup_Wizard::is_wc_admin_active()protectedWC 1.0

Deprecated from version 4.6.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Is the WooCommerce Admin actively included in the WooCommerce core? Based on presence of a basic WC Admin function.

Method of the class: WC_Admin_Setup_Wizard{}

No Hooks.

Return

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->is_wc_admin_active();

Changelog

Deprecated since 4.6.0

WC_Admin_Setup_Wizard::is_wc_admin_active() code WC 8.7.0

protected function is_wc_admin_active() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	return function_exists( 'wc_admin_url' );
}