• Thank you for a wonderful and useful plugin!

    Installed:

    • Ultimate Dashboard 3.7.10
    • ACF 6.2.3

    Problem: when activating “Remove Screen Options tab” (Settings->Main), in the ACF plugin disappear:

    • Custom field tabs: “General” “Labels” “Visibility” … The contents of these tabs are displayed vertically;
    • when creating or editing “Record Type” in ACF, the switch for advanced settings “Advanced Configuration” is inactive – moving the switch does not open an additional window for configuration.

    Could you restrict the wonderful “Remove Screen Options tab” feature within your plugin without affecting other solutions on the site?

    Thanks again for the plugin and your time.

Viewing 1 replies (of 1 total)
  • Thread Starter bergaul

    (@bergaul)

    UPD. I tried hiding manually using the following hook:

    function remove_screen_options() {
        return false;
    }
    add_filter('screen_options_show_screen', 'remove_screen_options');

    This is most likely a problem with the ACF plugin, as it reacts the same way to changes made via code – tabs disappear, swithcher are inactive.

    Another method would also apply, leaving the Screen Options tab for the administrator only. I’ll leave this here, perhaps someone will find it useful.

    function remove_screen_options(){
     return current_user_can( 'manage_options' );
    }
    add_filter('screen_options_show_screen', 'remove_screen_options');
    • This reply was modified 1 year, 4 months ago by bergaul.
Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with ACF plugin tabs’ is closed to new replies.