woocommerce_locate_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
String.
Usage
woocommerce_locate_template( $template_name, $template_path, $default_path );
- $template_name(required)
- .
- $template_path
- .
Default:'' - $default_path
- .
Default:''
Changelog
| Deprecated since | 3.0 |
woocommerce_locate_template() woocommerce locate template code WC 10.6.2
function woocommerce_locate_template( $template_name, $template_path = '', $default_path = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_locate_template' );
return wc_locate_template( $template_name, $template_path, $default_path );
}