$field, refers to the post field name. Possible filter names include: <ul> <li>edit_post_author</li> <li>edit_post_date</li> <li>edit_post_date_gmt</li> <li>edit_post_content</li> <li>edit_post_title</li> <li>edit_post_excerpt</li> <li>edit_post_status</li> <li>edit_post_password</li> <li>edit_post_name</li> <li>edit_post_modified</li> <li>edit_post_modified_gmt</li> <li>edit_post_content_filtered</li> <li>edit_post_parent</li> <li>edit_post_type</li> <li>edit_post_mime_type</li> </ul>$valuemixed$post_idintwp-includes/bookmark.php:431sanitize_bookmark_field()wp-includes/post.php:3022sanitize_post_field()wp-includes/user.php:1902sanitize_user_field() * * @since 2.3.0 * * @param mixed $value Value of the post field. * @param int $post_id Post ID. */ $value = apply_filters( "edit_{$field}", $value, $post_id ); /** * Filters the value of a specific post field to edit. * * Only applied to post fields with a name which is prefixed with `post_`. *Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.