do_action( ‘manage_media_custom_column’, string $column_name, int $post_id )

In this article

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

do_action( 'manage_media_custom_column', $column_name, $post->ID );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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