fc_checkout_page_title
Type: Filter
Filters the checkout page title.
Signature
apply_filters( 'fc_checkout_page_title', $title );
Parameters
| Name | Type | Description |
|---|---|---|
$title | mixed | Title text. |
Since
4.0.0
Source: templates/fc/checkout-page-template/checkout/page-checkout.php
Examples
add_filter( 'fc_checkout_page_title',
/**
* Customize checkout page title.
*
* @param mixed $title Title text.
* @return mixed Filtered value.
*/
function( $title ) {
return __( 'Complete Your Order', 'my-theme' );
},
10
);
add_filter( 'fc_display_checkout_page_title',
/**
* Show checkout page title.
*
* @param bool $title Title text. Default false.
* @return bool Filtered value.
*/
function( $title ) {
return true;
},
10
);