Automattic\WooCommerce\Blocks

Assets::redirect_to_fieldpublic staticWC 1.0

Deprecated since 5.0.0. It is no longer supported and may 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.

Returns

null. Nothing (null).

Usage

$result = Assets::redirect_to_field();

Changelog

Deprecated since 5.0.0

Assets::redirect_to_field() code WC 10.5.0

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