mirror of
git://develop.git.wordpress.org/
synced 2025-04-26 23:22:25 +02:00
Docs: Add missing @since and @param annotations for the edit_post_{$field}
hook doc.
Props mukesh27 See #50654 git-svn-id: https://develop.svn.wordpress.org/trunk@59050 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a6166f1434
commit
d8e05446b7
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user