Automattic\WooCommerce\Blocks

Assets::redirect_to_field()public staticWC 1.0

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

Adds a redirect field to the login form so blocks can redirect users after login.

Method of the class: Assets{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Assets::redirect_to_field();

Changelog

Deprecated since 5.0.0

Assets::redirect_to_field() code WC 8.7.0

public static function redirect_to_field() {
	_deprecated_function( 'Assets::redirect_to_field', '5.0.0' );
}