Automattic\WooCommerce\Internal\Admin\Onboarding
OnboardingFonts::init
Initialize the class.
Метод класса: OnboardingFonts{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = OnboardingFonts::init();
Код OnboardingFonts::init() OnboardingFonts::init WC 10.4.3
final public static function init() {
add_action( 'woocommerce_install_assembler_fonts', array( __CLASS__, 'install_fonts' ) );
add_filter( 'update_option_woocommerce_allow_tracking', array( self::class, 'start_install_fonts_async_job' ), 10, 2 );
}