Sanitize title with dashes

Posted on: December 21st, 2022
By: Tadeo Lemus

$sectionID = get_sub_field('title'); 
$sanitizedID = sanitize_title_with_dashes($SectionID);
echo $sanitizedID;

Have any questions or comments? Write them below!


Leave a comment

Your email address will not be published. Required fields are marked *