It would be nice to be able to filter the list of field groups by the locations, similar to how you can filter posts by category – eg:
- field groups assigned to Blocks
-
field groups assigned to Posts
-
field groups assigned to Pages
-
field groups assigned to [Custom Post Type]
Just a thought 🙂
In case anyone needs it, this is working for my needs:
$get_current_screen = get_current_screen();
$get_current_post_type = $get_current_screen->post_type;
$my_option = get_field(‘my-option’,’option’);
I meant that it would be nice to have a filter on the admin screen that lists all of the field groups 🙂