- Status
- Resolved
- Resolved in
- 1.9.0
- Related plugin/theme
- Advanced Custom Fields
Overview of the issue
If you are using Advanced Custom Fields and you set a custom field to Copy Once, the original custom field will continue to be copied over whenever the translation is empty.
Workaround
If your ACF template file just prints the value of your custom field, such as:
echo get_field('field_name')
Add instead of a blank space in your empty custom field.
If you are using a conditional if statement before printing the value in the ACF template file, such as:
if (get_field('field_name')) {
echo get_field('field_name');
}
Add 0 instead of blank space in your empty custom field.