sku

sku

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('sku') is found 1 times:

  • /includes/class-wc-product-variation.php line 217
    		$value = $this->get_prop( 'sku', $context );
    
    		// Inherit value from parent.
    		if ( 'view' === $context && empty( $value ) ) {
    			$value = apply_filters( $this->get_hook_prefix() . 'sku', $this->parent_data['sku'], $this );
    		}
    		return $value;
    	}
    
    	/**
    	 * Returns the product's weight.