Filters the value of a specific post field to edit.
The dynamic portion of the hook name, $field, refers to the post field name. Possible filter names include:
edit_post_authoredit_post_dateedit_post_date_gmtedit_post_contentedit_post_titleedit_post_excerptedit_post_statusedit_post_passwordedit_post_nameedit_post_modifiededit_post_modified_gmtedit_post_content_filterededit_post_parentedit_post_typeedit_post_mime_type$valuemixed
$post_idint
$value = apply_filters( "edit_{$field}", $value, $post_id );
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edit_field