fc_pro_woocommerce_germanized_preferred_delivery_after_fields
Type: Action
Fires after the fields in the woocommerce germanized preferred delivery.
Signature
do_action( 'fc_pro_woocommerce_germanized_preferred_delivery_after_fields' );
Parameters
This hook does not pass any parameters.
Since
3.0.6
Source: inc/compat/plugins/compat-plugin-woocommerce-germanized.php
Examples
add_action( 'fc_pro_woocommerce_germanized_preferred_delivery_after_fields',
/**
* Customize this hook.
*/
function() {
// Get value
$substep_visible_value = $this->is_preferred_delivery_section_enabled() ? 'yes' : 'no';
// Output substep state hidden field
echo '<input class="fc-substep-visible-state" type="hidden" value="' . $substep_visible_value . '" />';
},
10
);