manage_{$this->screen->id}_custom_column
Action HookDescription
Fires for each custom column in the Application Passwords list table. Custom columns are registered using the {@see 'manage_application-passwords-user_columns'} filter.Hook Information
File Location |
wp-admin/includes/class-wp-application-passwords-list-table.php
View on GitHub
|
Hook Type | Action |
Line Number | 141 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$column_name
|
Name of the custom column. |
array
|
$item
|
The application password item. |
Usage Examples
Basic Usage
<?php
// Hook into manage_{$this->screen->id}_custom_column
add_action('manage_{$this->screen->id}_custom_column', 'my_custom_function', 10, 2);
function my_custom_function($column_name, $item) {
// Your custom code here
}
Source Code Context
wp-admin/includes/class-wp-application-passwords-list-table.php:141
- How this hook is used in WordPress core
<?php
136 * @since 5.6.0
137 *
138 * @param string $column_name Name of the custom column.
139 * @param array $item The application password item.
140 */
141 do_action( "manage_{$this->screen->id}_custom_column", $column_name, $item );
142 }
143
144 /**
145 * Generates custom table navigation to prevent conflicting nonces.
146 *
PHP Documentation
<?php
/**
* Fires for each custom column in the Application Passwords list table.
*
* Custom columns are registered using the {@see 'manage_application-passwords-user_columns'} filter.
*
* @since 5.6.0
*
* @param string $column_name Name of the custom column.
* @param array $item The application password item.
*/
Quick Info
- Hook Type: Action
- Parameters: 2
- File: wp-admin/includes/class-wp-application-passwords-list-table.php
Related Hooks
Related hooks will be displayed here in future updates.