Filters

Hide Swift Control Panel from certain Pages/Archives

You can use the swift_control_frontend_display filter to hide/show the Swift Control panel from/on certain pages, posts, archives, etc like this:

function prefix_hide_sc_panel( $display ) {

    if ( is_archive() ) {
        return false;
    }

    return $display;

}
add_filter( 'swift_control_frontend_display', 'prefix_hide_sc_panel' );