better naming

This commit is contained in:
Nicola Mustone 2015-08-05 13:54:20 +02:00
parent 9140ca0f76
commit 9822edda0b
1 changed files with 2 additions and 2 deletions

View File

@ -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 ) );
} }
/** /**