manage_posts_custom_column

Advertisement

Summery Summery

Fires in each custom column in the Posts list table.

Syntax Syntax

do_action( 'manage_posts_custom_column', string $column_name, int $post_id )

Description Description

This hook only fires if the current post type is non-hierarchical, such as posts.

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
1.5.0 Introduced.

Advertisement

Leave a Reply

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