ACF_Assets::add_text
Appends an array of i18n data.
Method of the class: ACF_Assets{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Assets = new ACF_Assets(); $ACF_Assets->add_text( $text );
- $text(array) (required)
- An array of text for i18n.
Changelog
| Since 5.6.9 | Introduced. |
ACF_Assets::add_text() ACF Assets::add text code ACF 6.8.8
public function add_text( $text ) {
foreach ( (array) $text as $k => $v ) {
$this->text[ $k ] = $v;
}
}