Back to list of all filter and action hooks for Fluid Checkout PRO.
Description #
This filter allows you to customize the position arguments for the WooCommerce Germanized preferred delivery location substep.
Parameters #
$position_args(array) Array containing the substep type, step ID, and priority.
Example #
/**
* Show preferred delivery location later in the shipping step
*/
function adjust_preferred_delivery_priority( $position_args ) {
if ( 'shipping' === $position_args['step_id'] ) {
$position_args['priority'] = 105;
}
return $position_args;
}
add_filter( 'fc_pro_woocommerce_germanized_preferred_delivery_location_position_args', 'adjust_preferred_delivery_priority', 10, 1 );
