WP_Privacy_Requests_Table::get_columns() WordPress Method

The WP_Privacy_Requests_Table::get_columns() method is used to get the columns for the privacy requests table.

WP_Privacy_Requests_Table::get_columns() #

Get columns to show in the list table.


Return

(string[]) Array of column titles keyed by their column name.


Top ↑

Source

File: wp-admin/includes/class-wp-privacy-requests-table.php

	public function get_columns() {
		$columns = array(
			'cb'                => '<input type="checkbox" />',
			'email'             => __( 'Requester' ),
			'status'            => __( 'Status' ),
			'created_timestamp' => __( 'Requested' ),
			'next_steps'        => __( 'Next steps' ),
		);
		return $columns;
	}


Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.