diff options
author | Jb Audras <audrasjb@git.wordpress.org> | 2025-06-08 21:20:31 +0000 |
---|---|---|
committer | Jb Audras <audrasjb@git.wordpress.org> | 2025-06-08 21:20:31 +0000 |
commit | 7d5fb7b4a98a4ac02ef0d7b354f11b1396363d51 (patch) | |
tree | 3a0a27292e6d3aa41bb8ff497330706048d03264 /wp-includes/js/tinymce | |
parent | 066431423ca6e1441eeb96777516445eb7b678ee (diff) | |
download | wordpress-trunk.tar.gz wordpress-trunk.zip |
This changeset adds a `pre_post_insert` action hook before inserting a new post via `wp_insert_post()`, allowing developers to modify or inspect post data before insertion. It brings consistency with the `pre_post_update` action hook triggered when a post is updated.
Props Hrohh, peterwilsoncc, audrasjb.
Fixes #63115.
git-svn-id: https://develop.svn.wordpress.org/trunk@60293 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'wp-includes/js/tinymce')
0 files changed, 0 insertions, 0 deletions