Generates content for a single row of the table
Parameters
$item
arrayrequired- The current item.
$column_name
stringrequired- The current column name.
Source
protected function column_default( $item, $column_name ) {
/**
* Fires for each custom column in the Application Passwords list table.
*
* Custom columns are registered using the '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.
*/
do_action( "manage_{$this->screen->id}_custom_column", $column_name, $item );
}
Hooks
- do_action( “manage_{$this->screen->id}_custom_column”,
string $column_name ,WP_User_Request $item ) Fires for each custom column of a specific request type in the Requests list table.
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.