Remove the footer credits from the Storefront theme when using it for a WooCommerce site on your child site.
Snippet Type
Execute on Child Sites
Snippet
add_action( 'wp', 'wc_remove_storefront_credits' );
function wc_remove_storefront_credits() {
remove_action( 'storefront_footer', 'storefront_credit', 20 );
}
1 Like
Hi Sebastian, it would probably help newer readers if you told them where to put the snippet, without being too rude!
josklever
(Jos Klever)
December 23, 2020, 9:47am
3
Hi Terry,
These code snippets can be used in a functions.php of a child theme, a custom plugin, or any other solution for custom PHP code. However, these instructions are written for the MainWP Code Snippets Extension:
1 Like
system
(system)
Closed
January 22, 2021, 9:47am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.