I would like to add a custom description to “tiers” and haven’t found the php code needed to do that. If any of you have any solutions I’d appreciate it.
Hi,
Please try this PHP snippet (How to add custom code snippets - HivePress Help Center):
add_filter(
'hivepress/v1/forms/listing_update',
function( $form ) {
if(isset($form['fields']['price_tiers'])){
$form['fields']['price_tiers']['description'] = 'custom text here';
}
return $form;
},
1000
);
Please note that it can require further customization.
1 Like
Thank you so much this works perfectly!
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.