woocommerce_shipping_method_add_rate

woocommerce_shipping_method_add_rate

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_shipping_method_add_rate') is found 1 times:

  • /includes/abstracts/abstract-wc-shipping-method.php line 350
    			}
    			$rate->add_meta_data( __( 'Items', 'woocommerce' ), implode( ', ', $items_in_package ) );
    		}
    
    		$this->rates[ $args['id'] ] = apply_filters( 'woocommerce_shipping_method_add_rate', $rate, $args, $this );
    	}
    
    	/**
    	 * Calc taxes per item being shipping in costs array.
    	 *
    	 * @since 2.6.0