Automattic\WooCommerce\Admin\Features
Onboarding::get_allowed_themes
Deprecated since 6.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Gets an array of themes that can be installed & activated via the onboarding wizard.
Method of the class: Onboarding{}
No Hooks.
Returns
Array.
Usage
$result = Onboarding::get_allowed_themes();
Changelog
| Deprecated since | 6.3.0 |
Onboarding::get_allowed_themes() Onboarding::get allowed themes code WC 10.4.3
public static function get_allowed_themes() {
wc_deprecated_function( 'get_allowed_themes', '6.3' );
return array();
}