New the_field_label() function would be useful
-
This is a feature request. Maybe something like this:
function the_field_label($name, $post_id = false) {
$field = $post_id < 1 ? get_field_object($name) : get_field_object($name, $post_id);
if (isset($field[‘label’])) {
echo $field[‘label’];
}
}https://www.ads-software.com/plugins/advanced-custom-fields/
- The topic ‘New the_field_label() function would be useful’ is closed to new replies.