woocommerce_navigation_wp_toolbar_disabled

woocommerce_navigation_wp_toolbar_disabled

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_navigation_wp_toolbar_disabled') is found 1 times:

  • /src/Admin/Features/Navigation/Screen.php line 160
    			 * Adds the ability to skip disabling of the WP toolbar.
    			 *
    			 * @param boolean $bool WP Toolbar disabled.
    			 */
    			if ( apply_filters( 'woocommerce_navigation_wp_toolbar_disabled', true ) ) {
    				$classes .= ' is-wp-toolbar-disabled';
    			}
    		}
    
    		return $classes;
    	}