summaryrefslogtreecommitdiffstatshomepage
path: root/tests/phpunit/includes/object-cache.php
diff options
context:
space:
mode:
authorJb Audras <audrasjb@git.wordpress.org>2025-06-08 21:20:31 +0000
committerJb Audras <audrasjb@git.wordpress.org>2025-06-08 21:20:31 +0000
commit7d5fb7b4a98a4ac02ef0d7b354f11b1396363d51 (patch)
tree3a0a27292e6d3aa41bb8ff497330706048d03264 /tests/phpunit/includes/object-cache.php
parent066431423ca6e1441eeb96777516445eb7b678ee (diff)
downloadwordpress-trunk.tar.gz
wordpress-trunk.zip
Posts, Post Types: Add `pre_post_insert` action hook before inserting a new post.HEADtrunk
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 'tests/phpunit/includes/object-cache.php')
0 files changed, 0 insertions, 0 deletions