manage_{$this->screen->id}_custom_column

动作钩子


do_action( "manage_{$this->screen->id}_custom_column", $column_name, $item )
参数
  • (string)
    $column_name
    The name of the column to display.
    Required:
  • (WP_User_Request)
    $item
    The item being shown.
    Required:
定义位置
  • wp-admin/includes/class-wp-privacy-requests-table.php
    , line 502
引入
5.7.0
弃用

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.

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