WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Admin_Setup_Wizard::wc_setup_new_onboarding() public WC 1.0

Display's a prompt for users to try out the new improved WooCommerce onboarding experience in WooCommerce Admin.

Это метод класса: WC_Admin_Setup_Wizard{}

Хуков нет.


Null. Ничего.


$WC_Admin_Setup_Wizard = new WC_Admin_Setup_Wizard();

Код WC_Admin_Setup_Wizard::wc_setup_new_onboarding() WC 4.5.2

public function wc_setup_new_onboarding() {
		<div class="wc-setup-step__new_onboarding-wrapper">
			<p class="wc-setup-step__new_onboarding-welcome"><?php esc_html_e( 'Welcome to', 'woocommerce' ); ?></p>
			<h1 class="wc-logo"><a href="https://woocommerce.com/"><img src="<?php echo esc_url( WC()->plugin_url() ); ?>/assets/images/woocommerce_logo.png" alt="<?php esc_attr_e( 'WooCommerce', 'woocommerce' ); ?>" /></a></h1>
			<p><?php esc_html_e( 'Get your store up and running more quickly with our new and improved setup experience', 'woocommerce' ); ?></p>

			<form method="post" class="activate-new-onboarding">
				<?php wp_nonce_field( 'wc-setup' ); ?>
				<input type="hidden" name="save_step" value="new_onboarding" />
				<p class="wc-setup-actions step">
					<button class="button-primary button button-large" value="<?php esc_attr_e( 'Yes please', 'woocommerce' ); ?>" name="save_step"><?php esc_html_e( 'Yes please', 'woocommerce' ); ?></button>
			<?php if ( ! $this->is_wc_admin_active() ) : ?>
				<p class="wc-setup-step__new_onboarding-plugin-info"><?php esc_html_e( 'The "WooCommerce Admin" plugin will be installed and activated', 'woocommerce' ); ?></p>
			<?php endif; ?>