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