WordPress.WhiteSpace.OperatorSpacing.SpacingBefore
This commit is contained in:
parent
72696901f3
commit
3267ce6522
|
@ -660,7 +660,7 @@ class WC_Coupon extends WC_Legacy_Coupon {
|
|||
$this->set_minimum_amount( get_post_meta( $coupon_id, 'minimum_amount', true ) );
|
||||
$this->set_maximum_amount( get_post_meta( $coupon_id, 'maximum_amount', true ) );
|
||||
$email_restrictions = get_post_meta( $coupon_id, 'customer_email', true ) ;
|
||||
$this->set_email_restrictions( ! empty( $email_restrictions ) ? $email_restrictions : array() );
|
||||
$this->set_email_restrictions( ! empty( $email_restrictions ) ? $email_restrictions : array() );
|
||||
$this->set_used_by( (array) get_post_meta( $coupon_id, '_used_by' ) );
|
||||
|
||||
$this->read_meta_data();
|
||||
|
|
|
@ -572,7 +572,7 @@ if ( ! function_exists( 'woocommerce_product_loop_end' ) ) {
|
|||
return ob_get_clean();
|
||||
}
|
||||
}
|
||||
if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
|
||||
if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
|
||||
|
||||
/**
|
||||
* Show the product title in the product loop. By default this is an H3.
|
||||
|
@ -583,7 +583,7 @@ if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
|
|||
echo '<' . $tag . ' class="woocommerce-loop-product__title">' . get_the_title() . '</' . $tag . '>';
|
||||
}
|
||||
}
|
||||
if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
|
||||
if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
|
||||
|
||||
/**
|
||||
* Show the subcategory title in the product loop.
|
||||
|
|
Loading…
Reference in New Issue