Last active
May 22, 2021 17:07
-
-
Save jameskoster/65a502f1afc681ef2431 to your computer and use it in GitHub Desktop.
Outlet - Remove homepage categories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'jk_remove_homepage_categories', 99 ); | |
function jk_remove_homepage_categories() { | |
remove_action( 'storefront_page', 'outlet_homepage_navigation', 5 ); | |
remove_action( 'storefront_page', 'outlet_homepage_content_wrapper', 6 ); | |
remove_action( 'storefront_page', 'outlet_homepage_content_wrapper_close', 30 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Correct, the snippet below works as of Storefront 3.6 and Outlet 2.0.15: