better naming
This commit is contained in:
parent
9140ca0f76
commit
9822edda0b
|
@ -1152,7 +1152,7 @@ class WC_Product {
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function get_upsells() {
|
public function get_upsells() {
|
||||||
return apply_filters( 'woocommerce_up_sells_ids', (array) maybe_unserialize( $this->upsell_ids ) );
|
return apply_filters( 'woocommerce_product_upsell_ids', (array) maybe_unserialize( $this->upsell_ids ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1161,7 +1161,7 @@ class WC_Product {
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function get_cross_sells() {
|
public function get_cross_sells() {
|
||||||
return apply_filters( 'woocommerce_cross_sells_ids', (array) maybe_unserialize( $this->crosssell_ids ) );
|
return apply_filters( 'woocommerce_product_crosssell_ids', (array) maybe_unserialize( $this->crosssell_ids ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue