Support

Account

Home › Forums › Front-end Issues › Output text as one word or with dashes › Reply To: Output text as one word or with dashes

  • you could probably write your own code to do it, but WP already has a function https://codex.wordpress.org/Function_Reference/sanitize_title