Skip to main content

fc_no_order_notes_order_review_notice

Type: Filter

Filters the no order notes order review notice.

Signature​

apply_filters( 'fc_no_order_notes_order_review_notice', $notice );

Parameters​

NameTypeDescription
$noticestringNotice shown when the order notes substep has no review text.

Since​

  • 1.2.0

Source: inc/compat/plugins/compat-plugin-yith-woocommerce-checkout-manager.php

Examples​

add_filter( 'fc_no_order_notes_order_review_notice',
/**
* Customize no order notes notice.
*
* @param string $notice Notice shown when the order notes substep has no review text.
* @return string Filtered value.
*/
function( $notice ) {
return __( 'No special instructions provided.', 'my-theme' );
},
10
);