Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 in /srv/users/serverpilot/apps/better-admin-bar/public/wp-content/plugins/wp-rocket/inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php on line 1465

Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/better-admin-bar/public/wp-content/plugins/wp-rocket/inc/classes/dependencies/mobiledetect/mobiledetectlib/Mobile_Detect.php:1465) in /srv/users/serverpilot/apps/better-admin-bar/public/wp-content/plugins/wp-rocket/inc/classes/Buffer/class-cache.php on line 199
Filters - Better Admin Bar - WordPress Admin Bar Reimagined


Hide Quick Access Panel from certain Pages/Archives

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

function prefix_hide_qa_panel( $display ) {

    if ( is_archive() ) {
        return false;

    return $display;

add_filter( 'swift_control_frontend_display', 'prefix_hide_qa_panel' );

Still looking for the Perfect Theme?

Page Builder Framework is the perfect theme for your next project. Check out Page Builder Framework today!