Yoast\WP\SEO\Routes
Wincher_Route::has_valid_code()
Checks if a valid code was returned.
Метод класса: Wincher_Route{}
Хуков нет.
Возвращает
true|false
. Whether the code is valid.
Использование
$Wincher_Route = new Wincher_Route(); $Wincher_Route->has_valid_code( $code );
- $code(строка) (обязательный)
- The code to check.
Код Wincher_Route::has_valid_code() Wincher Route::has valid code Yoast 24.4
public function has_valid_code( $code ) { return $code !== ''; }