WC_Admin_Setup_Wizard::setup_wizard_content()publicWC 1.0

Deprecated from version 4.6.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Output the content for the current step.

Method of the class: WC_Admin_Setup_Wizard{}

No Hooks.


null. Nothing (null).


$WC_Admin_Setup_Wizard = new WC_Admin_Setup_Wizard();


Deprecated since 4.6.0

WC_Admin_Setup_Wizard::setup_wizard_content() code WC 8.9.0

public function setup_wizard_content() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	echo '<div class="wc-setup-content">';
	if ( ! empty( $this->steps[ $this->step ]['view'] ) ) {
		call_user_func( $this->steps[ $this->step ]['view'], $this );
	echo '</div>';