WC_Shortcode_My_Account::discard_password_reset_bridge_token │ private static │ WC 1.0

Delete a bridge handle without exchanging it, so it cannot be replayed.

Метод класса: WC_Shortcode_My_Account{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = WC_Shortcode_My_Account::discard_password_reset_bridge_token( $handle ): void;
$handle(разное) (обязательный)
URL bridge handle.

Код WC_Shortcode_My_Account::discard_password_reset_bridge_token() WC 11.3.0

private static function discard_password_reset_bridge_token( $handle ): void {
	if ( self::is_password_reset_bridge_handle( $handle ) ) {
		delete_transient( self::get_password_reset_bridge_transient_name( $handle ) );
	}
}