WordPress.org

Ready to get started?Download WordPress

Forums

edit_post hook (1 post)

  1. jtarleton
    Member
    Posted 3 years ago #

    Trying to change post content submitted from the edit post form.

    add_action('edit_post', 'myCustomFunction');
    function myCustomFunction(){
        //alter $_POST['content'] somehow before save, but how?
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags