[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

List Table API: WP_Privacy_Requests_Table class

File Size: 565 lines (14 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 18 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_created_timestamp()
  column_email()
  column_next_steps()
  single_row()
  embed_scripts()

Functions
Functions that are not part of a class:

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

return: string[] Array of column titles keyed by their column name.

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

return: string URL to the current admin page.

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

return: array Default sortable columns.

get_default_primary_column_name()   X-Ref
Returns the default primary column.

return: string Default primary column name.

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

return: object Number of posts for each status.

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

return: string[] An array of HTML links keyed by their view.

get_bulk_actions()   X-Ref
Gets bulk actions.

return: array Array of bulk action labels keyed by their action.

process_bulk_action()   X-Ref
Process bulk actions.


prepare_items()   X-Ref
Prepares items to output.


column_cb( $item )   X-Ref
Returns the markup for the Checkbox column.

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

column_status( $item )   X-Ref
Status column.

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

get_timestamp_as_date( $timestamp )   X-Ref
Converts a timestamp for display.

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

column_default( $item, $column_name )   X-Ref
Handles the default column.

param: WP_User_Request $item        Item being shown.
param: string          $column_name Name of column being shown.

column_created_timestamp( $item )   X-Ref
Returns the markup for the Created timestamp column. Overridden by children.

return: string Human readable date.
param: WP_User_Request $item Item being shown.

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

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

column_next_steps( $item )   X-Ref
Returns the markup for the next steps column. Overridden by children.

param: WP_User_Request $item Item being shown.

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

param: WP_User_Request $item The current item.

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




Generated : Sat Apr 27 08:20:02 2024 Cross-referenced by PHPXref