Skip to main content

fc_do_order_notes_hooks_priority

Type: Filter

Filters the priority used to render the order notes section.

Signature​

apply_filters( 'fc_do_order_notes_hooks_priority', $priority );

Parameters​

NameTypeDescription
$priorityintHook or step priority. Default 100.

Since​

  • 1.4.2

Source: inc/checkout-steps.php

Examples​

add_filter( 'fc_do_order_notes_hooks_priority',
/**
* Change order notes hooks priority.
*
* @param int $priority Hook or step priority. Default 100.
* @return int Filtered value.
*/
function( $priority ) {
return 1000;
},
10
);