Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adds a section to the ACF field groups page fora notes section
<?php
// Add additional setting option called "Notes"
add_action('acf/render_field_group_settings', 'my_acf_add_field_group_notes');
function my_acf_add_field_group_notes($field_group){
acf_render_field_wrap(array(
'label' => __('Notes','acf'),
'instructions' => __('Notes','acf'),
'type' => 'textarea',
'name' => 'notes',
'prefix' => 'acf_field_group',
'value' => ( isset($field_group['notes']) ) ? $field_group['notes'] : '',
));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.