woocommerce_correios_get_estimating_delivery

The WooCommerce Correios woocommerce correios get estimating delivery hook.

Description

apply_filters( 'woocommerce_correios_get_estimating_delivery', (string) $name, (unknown) $days, (unknown) $additional_days ); 

Parameters (3)

0. $name (string)
The name.
1. $days (unknown)
The days.
2. $additional_days (unknown)
The additional days.

Usage

To run the hook, copy the example below.
  1. $name = apply_filters( 'woocommerce_correios_get_estimating_delivery', $name, $days, $additional_days ); 
  2.  
  3. if ( !empty( $name ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the woocommerce_correios_get_estimating_delivery callback 
  2. function filter_woocommerce_correios_get_estimating_delivery( $name, $days, $additional_days ) { 
  3. // make filter magic happen here... 
  4. return $name
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'woocommerce_correios_get_estimating_delivery', 'filter_woocommerce_correios_get_estimating_delivery', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'woocommerce_correios_get_estimating_delivery', 'filter_woocommerce_correios_get_estimating_delivery', 10, 3 ); 

Defined (1)

The filter is defined in the following location(s).

/includes/wc-correios-functions.php  
  1. return apply_filters( 'woocommerce_correios_get_estimating_delivery', $name, $days, $additional_days );