Hello,
I want to add a description for Tag attribute in the listing form to guide the user (Explain the utility of tags and the maximum amount allowed)
Thanks in advance for the snippet !
Cordially, Zak.
Hello,
I want to add a description for Tag attribute in the listing form to guide the user (Explain the utility of tags and the maximum amount allowed)
Thanks in advance for the snippet !
Cordially, Zak.
Please try this PHP snippet
add_filter(
'hivepress/v1/forms/listing_update',
function( $form ) {
if(isset($form['fields']['tags'])){
$form['fields']['tags']['description'] = 'custom text here';
}
return $form;
},
1000
);
Thanks a lot !
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.