manage_{$post->post_type}_posts_custom_column

Advertisement

Summery Summery

Fires for each custom column of a specific post type in the Posts list table.

Syntax Syntax

do_action( "manage_{$post->post_type}_posts_custom_column", string $column_name, int $post_id )

Description Description

The dynamic portion of the hook name, $post->post_type, refers to the post type.

Parameters Parameters

$column_name

(string) The name of the column to display.

$post_id

(int) The current post ID.

Source Source

File: wp-admin/includes/class-wp-posts-list-table.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.