Changeset 57853
- Timestamp:
- 03/19/2024 09:31:23 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r57845 r57853 3556 3556 * Fires immediately before a post is deleted from the database. 3557 3557 * 3558 * The dynamic portion of the hook name, `$post->post_type`, refers to 3559 * the post type slug. 3560 * 3561 * @since 6.6.0 3562 * 3563 * @param int $postid Post ID. 3564 * @param WP_Post $post Post object. 3565 */ 3566 do_action( "delete_post_{$post->post_type}", $postid, $post ); 3567 3568 /** 3569 * Fires immediately before a post is deleted from the database. 3570 * 3558 3571 * @since 1.2.0 3559 3572 * @since 5.5.0 Added the `$post` parameter. … … 3568 3581 return false; 3569 3582 } 3583 3584 /** 3585 * Fires immediately after a post is deleted from the database. 3586 * 3587 * The dynamic portion of the hook name, `$post->post_type`, refers to 3588 * the post type slug. 3589 * 3590 * @since 6.6.0 3591 * 3592 * @param int $postid Post ID. 3593 * @param WP_Post $post Post object. 3594 */ 3595 do_action( "deleted_post_{$post->post_type}", $postid, $post ); 3570 3596 3571 3597 /**
Note: See TracChangeset
for help on using the changeset viewer.