WordPress at a glance
function is not described


Onboarding::is_loading() public WC 1.0

Let the app know that we will be showing the onboarding route, so wp-admin elements should be hidden while loading.

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

No Hooks.


true|false. Nothing.


$Onboarding = new Onboarding();
$Onboarding->is_loading( $is_loading );
$is_loading(true|false) (required)
Indicates if the woocommerce-admin-is-loading should be appended or not.

Code of Onboarding::is_loading() WC 5.2.2

public function is_loading( $is_loading ) {
	$show_profiler = self::should_show_profiler();

	if ( $show_profiler ) {
		return true;

	return $is_loading;