On this page
do_action( 'wp_edit_form_attachment_display', WP_Post $post )
Fires when an attachment type can’t be rendered in the edit form.
Parameters
$postWP_Post-
A post object.
Source
File: wp-admin/includes/media.php. View all references
do_action( 'wp_edit_form_attachment_display', $post );
Related
Used By
| Used By | Description |
|---|---|
| edit_form_image_editor() wp-admin/includes/media.php | Displays the image and editor in the post editor |
Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_edit_form_attachment_display