fc_checkout_no_shipping_method_chosen_html
Type: Filter
Filters the placeholder shown when no shipping method has been chosen.
Signature
apply_filters( 'fc_checkout_no_shipping_method_chosen_html', $html );
Parameters
| Name | Type | Description |
|---|---|---|
$html | string | HTML markup. |
Since
1.2.0
Source: templates/fc/checkout-steps/checkout/review-order-shipping.php
Examples
add_filter( 'fc_checkout_no_shipping_method_chosen_html',
/**
* Customize no shipping method chosen message.
*
* @param string $html HTML markup.
* @return string Filtered value.
*/
function( $html ) {
return '<span class="no-shipping">' . __( 'Please select a shipping method', 'my-theme' ) . '</span>';
},
10
);