wphooks.info - list_table_primary_column

list_table_primary_column

(trunk - 5.0-alpha-43304)

The hook occurs in the following file:

wp-admin/includes/class-wp-list-table.php:
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
		}

		/**
		 * Filters the name of the primary column for the current list table.
		 *
		 * @since 4.3.0
		 *
		 * @param string $default Column name default for the specific list table, e.g. 'name'.
		 * @param string $context Screen ID for specific list table, e.g. 'plugins'.
		 */
		$column = apply_filters( 'list_table_primary_column', $default, $this->screen->id );

		if ( empty( $column ) || ! isset( $columns[ $column ] ) ) {
			$column = $default;
		}

		return $column;
	}

	/**