ACF_Ajax::has
has
Returns true if the request has data for the given key.
Метод класса: ACF_Ajax{}
Хуков нет.
Возвращает
true|false.
Использование
$ACF_Ajax = new ACF_Ajax(); $ACF_Ajax->has( $key );
- $key(строка)
- The data key.
По умолчанию: ''
Список изменений
| С версии 5.7.2 | Введена. |
Код ACF_Ajax::has() ACF Ajax::has ACF 6.4.2
function has( $key = '' ) {
return isset( $this->request[ $key ] );
}