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