I have a WordPress site using pretty permalinks. I want to filter a string to that the it ends up with the exact same formatting as the url slug, does anyone know the filter or function to do so?

Read more here: Filter string like a slug


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: