Fires for each custom column of a specific request type in the Privacy Requests list table. Custom columns are registered using the {@see 'manage_export-personal-data_columns'} and the {@see '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`
$column_name, $item
Sortie :
@param string $column_name The name of the column to display. @param WP_User_Request $item The item being shown.
// Ajouter une fonction au hook action 'manage_{$this->screen->id}_custom_column'
add_action('manage_{$this->screen->id}_custom_column', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($column_name, $item) {
// Votre code ici
error_log('Hook manage_{$this->screen->id}_custom_column déclenché');
}
Chargement des actualités...