I have an update about this !
I just discovered that on the 13th December 2022, the release 6.0.6, introduced a new filter acf/field_group/disable_field_settings_tabs
used to disable all the tabs in each field settings in the field group editor.
Thanks to the dev team !
Cheers !
Coming back with news. So I contacted the developers about this topic.
The answer was that they “have passed this as a feature request to the dev team for further consideration and hopefully, such an option will find its way into the plugin’s development roadmap”.
And told me that “In meantime, you can try ACF version 5.12.4 which contains the old interface”.
Then I asked for a follow up about this, but : “Unfortunately, the tracking of features is done on our side and we do not have a public link at the moment”.
I really find it a pity to have no vision on the evolution of this subject. There clearly is a need, and it’s very frustrating to lose comfort and time while remaining in total vagueness as to potential improvements.
Can you do something about this ?
@designlobby I just did when I saw your post 🙂
And yes I agree with what you say, I had an issue yesterday like yours.
Wow amazing ! I had no idea ACF used post_name
value.
In my boilerplate I had this filter :
// Replace apostrophes with dashes only once when saving a post.
// By default wordpress remove them.
function wm_insert_post_data_customize( $data, $postarr ) {
$post_id = $postarr['ID'];
// do nothing if post is auto-draft (when creating new post)
if(in_array( $data['post_status'], array( 'draft', 'pending', 'auto-draft' ) )) return $data;
// only if new
$is_new = get_post_meta($post_id, 'post_is_new', true);
if ( $is_new != 'true' ) {
$post_title = str_replace("'", "-", $data['post_title']);
$data['post_name'] = wp_unique_post_slug( sanitize_title( $post_title, $post_id ), $post_id, $data['post_status'], $data['post_type'], $data['post_parent'] );
// set the 'post_is_new' value
update_post_meta($post_id, 'post_is_new', 'true');
}
return $data;
}
add_filter( 'wp_insert_post_data', 'wm_insert_post_data_customize', 50, 2 );
So I added a new line after the first if(...) return $data;
:
if($data['post_type'] == 'acf-field-group' or $data['post_type'] == 'acf-field') return $data;
And now it works like a charm.
Thank you for the help, cheers !
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.