wc_get_theme_slug_for_templates()
Get a slug identifying the current theme.
Description Description
Return Return
(string)
Source Source
File: includes/wc-template-functions.php
function wc_get_theme_slug_for_templates() {
return apply_filters( 'woocommerce_theme_slug_for_templates', get_option( 'template' ) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |