WordPress at Your Fingertips
function is not described

WC_Admin_Setup_Wizard_Tracking::get_current_step() public WC 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.

Get the name of the current step.

{} It's a method of the class: WC_Admin_Setup_Wizard_Tracking{}

No Hooks.




$WC_Admin_Setup_Wizard_Tracking = new WC_Admin_Setup_Wizard_Tracking();


Deprecated 4.6.0

Code of WC_Admin_Setup_Wizard_Tracking::get_current_step() WC 5.8.0

public function get_current_step() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', __( 'Onboarding is maintained in WooCommerce Admin.', 'woocommerce' ) );
	return isset( $_GET['step'] ) ? sanitize_key( $_GET['step'] ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended