[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-admin/includes/ -> class-wp-privacy-requests-table.php (summary)

List Table API: WP_Privacy_Requests_Table class

File Size: 451 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 17 functions

  get_columns()
  get_admin_url()
  get_sortable_columns()
  get_default_primary_column_name()
  get_request_counts()
  get_views()
  get_bulk_actions()
  process_bulk_action()
  prepare_items()
  column_cb()
  column_status()
  get_timestamp_as_date()
  column_default()
  column_email()
  column_next_steps()
  single_row()
  embed_scripts()

Functions
Functions that are not part of a class:

get_columns()   X-Ref
Get columns to show in the list table.

return: array Array of columns.
since: 4.9.6

get_admin_url()   X-Ref
Normalize the admin URL to the current page (by request_type).

return: string URL to the current admin page.
since: 5.3.0

get_sortable_columns()   X-Ref
Get a list of sortable columns.

return: array Default sortable columns.
since: 4.9.6

get_default_primary_column_name()   X-Ref
Default primary column.

return: string Default primary column name.
since: 4.9.6

get_request_counts()   X-Ref
Count number of requests for each status.

return: object Number of posts for each status.
since: 4.9.6

get_views()   X-Ref
Get an associative array ( id => link ) with the list of views available on this table.

return: array Associative array of views in the format of $view_name => $view_markup.
since: 4.9.6

get_bulk_actions()   X-Ref
Get bulk actions.

return: array List of bulk actions.
since: 4.9.6

process_bulk_action()   X-Ref
Process bulk actions.

since: 4.9.6

prepare_items()   X-Ref
Prepare items to output.

since: 4.9.6
since: 5.1.0 Added support for column sorting.

column_cb( $item )   X-Ref
Checkbox column.

return: string Checkbox column markup.
since: 4.9.6
param: WP_User_Request $item Item being shown.

column_status( $item )   X-Ref
Status column.

return: string Status column markup.
since: 4.9.6
param: WP_User_Request $item Item being shown.

get_timestamp_as_date( $timestamp )   X-Ref
Convert timestamp for display.

return: string Human readable date.
since: 4.9.6
param: int $timestamp Event timestamp.

column_default( $item, $column_name )   X-Ref
Default column handler.

return: string Default column output.
since: 4.9.6
param: WP_User_Request $item        Item being shown.
param: string          $column_name Name of column being shown.

column_email( $item )   X-Ref
Actions column. Overridden by children.

return: string Email column markup.
since: 4.9.6
param: WP_User_Request $item Item being shown.

column_next_steps( $item )   X-Ref
Next steps column. Overridden by children.

since: 4.9.6
param: WP_User_Request $item Item being shown.

single_row( $item )   X-Ref
Generates content for a single row of the table,

since: 4.9.6
param: WP_User_Request $item The current item.

embed_scripts()   X-Ref
Embed scripts used to perform actions. Overridden by children.

since: 4.9.6



Generated: Mon Sep 16 01:00:03 2019 Cross-referenced by PHPXref 0.7.1