Convert spaces to dash and lowercase with PHP 157 viewsNovember 14, 2021PHP WordPress 0 admin149 November 14, 2021 0 Comments $parent_url = str_replace(' ', '-', strtolower($parent_title)); admin Asked question November 14, 2021 Add a Comment 0 Answers ActiveVotedNewestOldest Write your answer. Login