Support » Plugin: Easy FancyBox » Remove settings section

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, interesting question 🙂

    You should be able to do this with

    
    remove_action( 'admin_init', array( 'easyFancyBox_Admin', 'add_settings_section' ) );
    

    But be sure to call this at plugins_loaded or later…

    Thread Starter holzhannes

    (@holzhannes)

    Thank you for your Answer. It is working! I using it in after_setup_theme in a Child Theme for a Multisite/Network. Settings for Fancybox are set by the theme and then hidden 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove settings section’ is closed to new replies.