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

The name of the column to display.

$post_id

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