ACF_Ajax::has
has
Returns true if the request has data for the given key.
Method of the class: ACF_Ajax{}
No Hooks.
Returns
true|false.
Usage
$ACF_Ajax = new ACF_Ajax(); $ACF_Ajax->has( $key );
- $key(string)
- The data key.
Default:''
Changelog
| Since 5.7.2 | Introduced. |
ACF_Ajax::has() ACF Ajax::has code ACF 6.0.4
function has( $key = '' ) {
return isset( $this->request[ $key ] );
}