Automattic\WooCommerce\Blocks
Assets::redirect_to_field
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() Assets::redirect to field code WC 10.5.0
public static function redirect_to_field() {
_deprecated_function( 'Assets::redirect_to_field', '5.0.0' );
}