How Does WordPress Create Permalinks?

I wanted to call the same function as WordPress uses for turning a post title into a page slug for some customizations to the Shopp Plugin I’ve been making for my client SoupCycle. It took a little digging but I found it in:


It’s function

function sanitize_title_with_dashes($title) { ... }

I couldn’t find this posted on the net anywhere so I posted it here in case others were looking for it.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.