woocommerce_flat_rate_shipping_add_rate

woocommerce_flat_rate_shipping_add_rate

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_flat_rate_shipping_add_rate') is found 1 times:

  • /includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php line 277
    		 *          // Add it to WC.
    		 *          $method->add_rate( $new_rate );
    		 *      }.
    		 */
    		do_action( 'woocommerce_flat_rate_shipping_add_rate', $this, $rate );
    	}
    
    	/**
    	 * Get items in package.
    	 *
    	 * @param  array $package Package information.
    

See this hook used in plugins: