do_action( 'wp_edit_form_attachment_display', WP_Post $post )

Fires when an attachment type can’t be rendered in the edit form.

Parameters

$post

(WP_Post) A post object.

Source

File: wp-admin/includes/media.php

View on Trac

Changelog

Version Description
4.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_edit_form_attachment_display