add filter to method get_sku()

This commit is contained in:
darkrain 2014-06-19 22:28:49 +07:00
parent c66f2b8232
commit ea476af2ca
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class WC_Product {
* @return string
*/
public function get_sku() {
return $this->sku;
return apply_filters( 'woocommerce_get_sku', $this->sku, $this );
}
/**