The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Can I hook into permalink creation for new posts? (3 posts)

  1. Peter Coughlin
    Posted 7 years ago #

    Hi gang.

    Can anyone tell me whether it's possible to hook into the process that creates the permalinks for new posts on the edit page?

    To clarify, when I create a new post and add a title, a permalink is automatically created. What I would like to do is hook into this and change the permalink before it appears on the edit page.

    Thanks for any suggestions or pointers,

  2. Peter Coughlin
    Posted 7 years ago #

    I solved this by using the editable_slug filter...

  3. rabidgopher04
    Posted 7 years ago #

    Could you provide a little more detail and maybe a code sample? Thanks. :)

Topic Closed

This topic has been closed to new replies.

About this Topic