ACF_Admin_Post_type::admin_l10n
This function will append extra l10n strings to the acf JS object
Method of the class: ACF_Admin_Post_type{}
Hooks from the method
Returns
array. $l10n
Usage
$ACF_Admin_Post_type = new ACF_Admin_Post_type(); $ACF_Admin_Post_type->admin_l10n( $l10n );
- $l10n(array) (required)
- The array of translated strings.
Changelog
| Since 5.3.8 | Introduced. |
ACF_Admin_Post_type::admin_l10n() ACF Admin Post type::admin l10n code ACF 6.8.8
public function admin_l10n( $l10n ) {
return apply_filters( 'acf/post_type/admin_l10n', $l10n );
}