• Resolved mrdexters1

    (@mrdexters1)


    Hello, Thanks for your great plugin! You are doing a great job!

    Could you help me?

    How I can block (or remove) the functional for additional plugins? I use “Header and Footer Scripts” plugin.

    IMAGE – Clickable

    I think it is very important to block the execution of scripts for users with limited functionality

    Any help would be greatly appreciated. Please advise.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi @mrdexters1

    We don’t have such a tool to hide meta boxes, but you can try to add this code at the end of your functions.php file:

    if( ! current_user_can('activate_plugins') ) {
      add_action('add_meta_boxes', function() {
        remove_meta_box('shfs_all_post_meta', 'post', 'normal');
      }, 1000);
    }

    Hopefully, that helps.

    Thread Starter mrdexters1

    (@mrdexters1)

    It works, thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Security issue – How can I block the functionality of another plugin?’ is closed to new replies.