wc_get_theme_slug_for_templates()
Get a slug identifying the current theme.
Hooks from the function
Return
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 8.6.1
function wc_get_theme_slug_for_templates() { return apply_filters( 'woocommerce_theme_slug_for_templates', get_option( 'template' ) ); }