wp_edit_form_attachment_display action-hook . WP 4.6.0
Fires when an attachment type can't be rendered in the edit form.
Usage
add_action( 'wp_edit_form_attachment_display', 'action_function_name_8350' ); function action_function_name_8350( $post ){ // action... }
- $post(WP_Post)
- A post object.
Changelog
Since 4.6.0 | Introduced. |
Where the hook is called
wp_edit_form_attachment_display
wp-admin/includes/media.php 3200
do_action( 'wp_edit_form_attachment_display', $post );