Automattic\WooCommerce\Admin\Features
Onboarding::should_show_profiler()
Returns true if the profiler should be displayed (not completed and not skipped).
{} Это метод класса: Onboarding{}
Хуков нет.
Возвращает
true|false
.
Использование
$result = Onboarding::should_show_profiler();
Код Onboarding::should_show_profiler() Onboarding::should show profiler WC 6.4.1
public static function should_show_profiler() { if ( self::is_profile_wizard() ) { return true; } return self::profiler_needs_completion(); }