Home › Forums › Feature Requests › Post Title/Content Labels › Reply To: Post Title/Content Labels
You can do it like this without overwriting the core code:
add_filter( 'acf/get_valid_field', 'change_input_labels');
function change_input_labels($field) {
if($field['name'] == '_post_title') {
$field['label'] = 'Custom Title';
}
if($field['name'] == '_post_content') {
$field['label'] = 'Custom Content Title';
}
return $field;
}
This code goes into your functions.php file for example.
Since i think not too many people needs this function, i don’t think we need a GUI for this, so we can mark this feature request as solved.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.