Is it possible to force with a php snippet in a text field, from all uppercase to all lowercase with first letter capitalized? You can help me thank you
I see that you no longer accept customization requests. Ok
Thank you for waiting. Please try this PHP code snippet. It will change the listing title according to your requirements.
add_action( 'hivepress/v1/models/listing/update', 'custom_update_listing_title', 1000, 2);
function custom_update_listing_title($listing_id, $listing){
remove_action( 'hivepress/v1/models/listing/update', 'custom_update_listing_title', 1000, 2);
$listing->set_title(ucwords(strtolower($listing->get_title())))->save_title();
}
Perfect. Thank you so much