• Resolved johng1981

    (@johng1981)


    We are trying to remove the Astra meta box under page settings so the client can’t accidentally change page templates and behavior.

    We have tried the below, but it just does not work. Could you please let me know what ID to use to have this successfully removed?

     if( is_admin() ) {
            if( current_user_can('shop_manager') ) {
                remove_meta_box('astra_settings_meta_box', 'page', 'normal');
            }
    • This topic was modified 4 years, 9 months ago by johng1981.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove Astra Meta box’ is closed to new replies.