WP_Privacy_Requests_Table::column_default( WP_User_Request $item, string $column_name )

In this article

Handles the default column.

Parameters

$itemWP_User_Requestrequired
Item being shown.
$column_namestringrequired
Name of column being shown.

Source

public function column_default( $item, $column_name ) {	/** * Fires for each custom column of a specific request type in the Privacy Requests list table. * * 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` * * @since 5.7.0 * * @param string $column_name The name of the column to display. * @param WP_User_Request $item The item being shown. */	do_action( "manage_{$this->screen->id}_custom_column", $column_name, $item ); } 

Hooks

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

Fires for each custom column in the Application Passwords list table.

Changelog

VersionDescription
5.7.0Added manage_{$this->screen->id}_custom_column action.
4.9.6Introduced.

User Contributed Notes

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