Warning: Creating default object from empty value in /home/cf9819/public_html/shibumi.net/wp-content/themes/dkret3/header.php on line 17

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.