Hi there! I have the following problem: I want to completely disable the default post types of my wordpress install, like this on the “init” hook:
add_action("init", "b09_unset_post_types");
function b09_unset_post_types() {
global $wp_post_types;
unset( $wp_post_types['post'] );
unset( $wp_post_types['page'] );
}
Now if I do this, everything works fine, except that if I go to the “Add new Fieldgroup” (post-new.php?post_type=acf-field-group) section it says the following: “You do not have sufficient permissions to access this page.” This seems to me like a bug, since all my other custom post types still work as expected.
I just checked it with ACF 4.3.8, the bug also exists there.