Modify the permalink before/after the post is stored (3 posts)

  1. Blutarsky
    Posted 7 years ago #

    is there a way to modify/change the permalink, programmatically, overriding default template?

    I have some customized automated posts, would like to change the permalink just before/after insertion.


  2. Samuel B

    Posted 7 years ago #

    you can always edit the post after publishing and above the editor you can edit the permalinks

  3. Blutarsky
    Posted 7 years ago #

    Sorry, but it must be done programmatically.

    Digging the Internet it shows that among WordPress' functions & programmability, this has been left out to enforce permalink's template conformance.

    Obviously somewhere in WP php files there must be somwhere the code to do so; but I just wanted to do it in a clean way, using a "high level" call to some function to do so.

    Any hint?

Topic Closed

This topic has been closed to new replies.

About this Topic