do_action( “manage_{$this->screen->id}_custom_column”, string $column_name, WP_User_Request $item )

In this article

Fires for each custom column of a specific request type in the Privacy Requests list table.

Description

Custom columns are registered using the ‘manage_export-personal-data_columns’ and the ‘manage_erase-personal-data_columns’ filters.

The dynamic portion of the hook name, $this->screen->id, refers to the ID given to the list table according to which screen it’s displayed on.

Possible hook names include:

  • manage_export-personal-data_custom_column
  • manage_erase-personal-data_custom_column

Parameters

$column_namestring
The name of the column to display.
$itemWP_User_Request
The item being shown.

Source

do_action( "manage_{$this->screen->id}_custom_column", $column_name, $item );

Changelog

VersionDescription
5.7.0Introduced.

User Contributed Notes

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