Skip to main content

fc_billing_step_hook_priority

Type: Filter

Filters the priority of the billing checkout step.

Signature​

apply_filters( 'fc_billing_step_hook_priority', $step_priority );

Parameters​

NameTypeDescription
$step_prioritymixedStep priority.

Since​

  • 3.1.0

Source: inc/checkout-steps.php

Examples​

add_filter( 'fc_billing_step_hook_priority',
/**
* Change billing step hooks priority.
*
* @param mixed $step_priority Step priority.
* @return mixed Filtered value.
*/
function( $step_priority ) {
// Force billing step before shipping
return 15;
},
10
);