On this page
do_action( 'manage_media_custom_column', string $column_name, int $post_id )
Fires for each custom column in the Media list table.
Description
Custom columns are registered using the ‘manage_media_columns’ filter.
Parameters
$column_namestring-
Name of the custom column.
$post_idint-
Attachment ID.
Source
File: wp-admin/includes/class-wp-media-list-table.php. View all references
do_action( 'manage_media_custom_column', $column_name, $post->ID );
Related
Used By
| Used By | Description |
|---|---|
| WP_Media_List_Table::column_default() wp-admin/includes/class-wp-media-list-table.php | Handles output for the default column. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/manage_media_custom_column