woocommerce_get_template_part()
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
null. Nothing (null).
Usage
woocommerce_get_template_part( $slug, $name );
- $slug(required)
- .
- $name
- .
Default:''
Changelog
| Deprecated since | 3.0 |
woocommerce_get_template_part() woocommerce get template part code WC 10.6.2
function woocommerce_get_template_part( $slug, $name = '' ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_template_part' );
wc_get_template_part( $slug, $name );
}