WordPress at Your Fingertips
function is not described


Assets::redirect_to_field() public WC 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.

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

No Hooks.


null. Nothing.


$result = Assets::redirect_to_field();


Deprecated 5.0.0

Code of Assets::redirect_to_field() WC 5.8.0

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