How to Custom Edit Post Title & Permalink Slug? July 23, 2022 by Tarik Billa Have a look at wp_ajax action hook for invoking your action. Then use update_post to update the title and slug.