acf_localize_text()
Appends an array of i18n data for localization.
No Hooks.
Returns
null. Nothing (null).
Usage
acf_localize_text( $text );
- $text(array) (required)
- An array of text for i18n.
Changelog
| Since 5.6.9 | Introduced. |
acf_localize_text() acf localize text code ACF 6.0.4
function acf_localize_text( $text ) {
return acf_get_instance( 'ACF_Assets' )->add_text( $text );
}