Skip to content

Commit

Permalink
Docs: Add missing @SInCE and @param annotations for the `edit_post_{$…
Browse files Browse the repository at this point in the history
…field}` hook doc.

Props mukesh27
See #50654


git-svn-id: https://develop.svn.wordpress.org/trunk@59050 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
DrewAPicture committed Sep 18, 2024
1 parent a6166f1 commit d8e0544
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wp-includes/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -2968,7 +2968,11 @@ function sanitize_post_field( $field, $value, $post_id, $context = 'display' ) {
* - `edit_post_comment_status`
* - `edit_post_guid`
* - `edit_post_menu_order`
* @since
*
* @since 2.3.0
*
* @param mixed $value Value of the post field.
* @param int $post_id Post ID.
*/
$value = apply_filters( "edit_post_{$field}", $value, $post_id );
}
Expand Down

0 comments on commit d8e0544

Please sign in to comment.