woocommerce_theme_slug_for_templates

woocommerce_theme_slug_for_templates

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_theme_slug_for_templates') is found 1 times:

  • /includes/wc-template-functions.php line 3841
     * @since 3.3.0
     * @return string
     */
    function wc_get_theme_slug_for_templates() {
    	return apply_filters( 'woocommerce_theme_slug_for_templates', get_option( 'template' ) );
    }
    
    /**
     * Gets and formats a list of cart item data + variations for display on the frontend.
     *
     * @since 3.3.0