wc_get_theme_slug_for_templates()
Get a slug identifying the current theme.
Hooks from the function
Returns
String
.
Usage
wc_get_theme_slug_for_templates();
Changelog
Since 3.3.0 | Introduced. |
wc_get_theme_slug_for_templates() wc get theme slug for templates code WC 9.9.5
function wc_get_theme_slug_for_templates() { return apply_filters( 'woocommerce_theme_slug_for_templates', get_option( 'template' ) ); }