wphooks.info - list_table_primary_column

list_table_primary_column

The hook occurs in the following file:

wp-admin/includes/class-wp-list-table.php:
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
		}

		/**
		 * 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;
	}

	/**