do_action( ‘wp_edit_form_attachment_display’, WP_Post $post )

In this article

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

Parameters

$postWP_Post
A post object.

Source

do_action( 'wp_edit_form_attachment_display', $post );

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.