How to change the price range label

Hello,
I need a code snippet to change the title of this field please:
image

Thank You

Hi,

Please check out this doc How to change any static text - HivePress Help Center

Thank You… I guess I wasn’t sure if by changing this field by using Loco Translate if it would effect other fields as it does in some cases.

Thank You.

Please try this one:

add_filter(
	'hivepress/v1/forms/listing_filter',
	function ($form){
		if(isset($form['fields']['price'])){
			$form['fields']['price']['label'] = 'Your custom text here';
		}
		
		return $form;
	},
	1000
);

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.