Remove is_shortcode_loop

This commit is contained in:
Mike Jolley 2017-12-06 18:09:49 +00:00
parent 07792a253b
commit e343c99ccb
1 changed files with 0 additions and 15 deletions

View File

@ -276,21 +276,6 @@ if ( ! function_exists( 'is_filtered' ) ) {
}
}
if ( ! function_exists( 'is_shortcode_loop' ) ) {
/**
* Returns true when called within a loop generated by a products shortcode.
*
* @since 3.3.0
* @return bool
*/
function is_shortcode_loop() {
global $woocommerce_loop;
return apply_filters( 'woocommerce_is_shortcode_loop', ! empty( $woocommerce_loop['shortcode'] ) );
}
}
if ( ! function_exists( 'taxonomy_is_product_attribute' ) ) {
/**