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

Handles the default column.


Parameters

$item WP_User_Request Required
Item being shown.
$column_name string Required
Name of column being shown.

Top ↑

Source

File: wp-admin/includes/class-wp-privacy-requests-table.php. View all references

public function column_default( $item, $column_name ) {
	/**
	 * Fires for each custom column of a specific request type in the Requests list table.
	 *
	 * Custom columns are registered using the {@see 'manage_export-personal-data_columns'}
	 * and the {@see 'manage_erase-personal-data_columns'} filters.
	 *
	 * @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 );
}

Top ↑

Hooks



Top ↑

Changelog

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

Top ↑

User Contributed Notes

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