ACF_Data::append
append
Appends data for the given name and returns $this for chaining.
Method of the class: ACF_Data{}
No Hooks.
Returns
ACF_Data.
Usage
$ACF_Data = new ACF_Data(); $ACF_Data->append( $value );
- $value(mixed)
- The data value.
Default:null
Changelog
| Since 5.7.10 | Introduced. |
ACF_Data::append() ACF Data::append code ACF 6.0.4
function append( $value = null ) {
// Append.
$this->data[] = $value;
// Return this for chaining.
return $this;
}