Support » Plugins » remove_filter sanitize_title on update of post

  • Hi all,

    After an import of an existing CMS I’m finding that the sanitize_title filter is rewriting my permalinks when old articles are updated. Thus for old articles only, I’d like to prevent sanitize_title from running.

    Pseudo code wise it seems I need to

    If in admin section and post->ID < 8000 {
    remove_filter( 'sanitize_title'...
    }

    Does anyone have any advice on a course of action that I might pursue to iron this out?

  • The topic ‘remove_filter sanitize_title on update of post’ is closed to new replies.