woocommerce_get_template()
Deprecated since 3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Returns
void. Nothing (null).
Usage
woocommerce_get_template( $template_name, $args, $template_path, $default_path );
- $template_name(required)
- .
- $args
- .
Default:array() - $template_path
- .
Default:'' - $default_path
- .
Default:''
Changelog
| Deprecated since | 3.0 |
woocommerce_get_template() woocommerce get template code WC 11.0.1
function woocommerce_get_template( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_template' );
wc_get_template( $template_name, $args, $template_path, $default_path );
}