shipping_class_id

shipping_class_id

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('shipping_class_id') is found 1 times:

  • /includes/class-wc-product-variation.php line 407
    	public function get_shipping_class_id( $context = 'view' ) {
    		$shipping_class_id = $this->get_prop( 'shipping_class_id', $context );
    
    		if ( 'view' === $context && ! $shipping_class_id ) {
    			$shipping_class_id = apply_filters( $this->get_hook_prefix() . 'shipping_class_id', $this->parent_data['shipping_class_id'], $this );
    		}
    
    		return $shipping_class_id;
    	}
    
    	/**