I’m using acf/settings/l10n_textdomain
hook to export php code. It works label and description args, but doesn’t work choices. Please click this link see photo https://d.pr/free/i/9eCddQ
Here is my code. What i should do?
function zii_acf_settings_l10_textdomain( $text_domain ) {
if ( ! class_exists( 'ACF' ) ) {
return;
}
$text_domain = zii_get_theme_data( 'TextDomain' );
return $text_domain;
}
add_filter( 'acf/settings/l10n_textdomain', 'zii_acf_settings_l10_textdomain' );
Hello,
I have the same problem.
I believe the problem exists after the latest ACF update.
Regard