woocommerce_setup_wizard_steps

woocommerce_setup_wizard_steps

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_setup_wizard_steps') is found 1 times:

  • /includes/admin/class-wc-admin-setup-wizard.php line 282
    		if ( ! current_user_can( 'install_plugins' ) ) {
    			unset( $default_steps['activate'] );
    		}
    
    		$this->steps = apply_filters( 'woocommerce_setup_wizard_steps', $default_steps );
    		$this->step  = isset( $_GET['step'] ) ? sanitize_key( $_GET['step'] ) : current( array_keys( $this->steps ) ); // WPCS: CSRF ok, input var ok.
    
    		// @codingStandardsIgnoreStart
    		if ( ! empty( $_POST['save_step'] ) && isset( $this->steps[ $this->step ]['handler'] ) ) {
    			call_user_func( $this->steps[ $this->step ]['handler'], $this );
    		}
    

See this hook used in plugins: