fc_shipping_method_description_html_element
Type: Filter
Filters the shipping method description HTML element.
Signature
apply_filters( 'fc_shipping_method_description_html_element', $html );
Parameters
| Name | Type | Description |
|---|---|---|
$html | string | HTML markup. Default small. |
Since
1.5.2
Source: inc/checkout-steps.php
Examples
add_filter( 'fc_shipping_method_description_html_element',
/**
* Use paragraph element for shipping method descriptions.
*
* @param string $html HTML markup. Default small.
* @return string Filtered value.
*/
function( $html ) {
return 'p';
},
10
);