Skip to main content

fc_pro_pickup_point_label_text

Type: Filter

Filters the text for pickup point label.

Signature​

apply_filters( 'fc_pro_pickup_point_label_text', $text );

Parameters​

NameTypeDescription
$textstringText.

Since​

  • 2.0.1

Source: inc/checkout-local-pickup.php

Examples​

add_filter( 'fc_pro_pickup_point_label_text',
/**
* Change pickup point label to custom text.
*
* @param string $text Text.
* @return string Filtered value.
*/
function( $text ) {
return __( 'Local Pickup Location', 'text-domain' );
},
10
);