GC_Application_Passwords_List_Table::column_default()

最后更新于:2021-11-26 09:15:07

GC_Application_Passwords_List_Table::column_default( array$item, string$column_name)

Generates content for a single row of the table

参数

$item

(array) (Required) The current item.

$column_name

(string) (Required) The current column name.

源文件

文件: gc-admin/includes/class-gc-application-passwords-list-table.php

	protected function column_default( $item, $column_name ) {
		/**
		 * 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.
		 */
		do_action( "manage_{$this->screen->id}_custom_column", $column_name, $item );
	}