[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/classes/ -> class-bp-optouts-list-table.php (summary)

BuddyPress Opt-outs List Table class.

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

Defines 1 class

BP_Optouts_List_Table:: (18 methods):
  __construct()
  prepare_items()
  views()
  extra_tablenav()
  get_columns()
  get_bulk_actions()
  no_items()
  get_sortable_columns()
  display_rows()
  single_row()
  column_cb()
  column_email_address()
  column_username()
  column_user_registered()
  column_email_type()
  column_email_type_description()
  column_optout_date_modified()
  column_default()


Class: BP_Optouts_List_Table  - X-Ref

List table class for nonmember opt-outs admin page.

__construct()   X-Ref
Constructor.

since: 8.0.0

prepare_items()   X-Ref
Set up items for display in the list table.

Handles filtering of data, sorting, pagination, and any other data
manipulation required prior to rendering.

since: 8.0.0

views()   X-Ref
Get the list of views available on this table.

since: 8.0.0

extra_tablenav( $which )   X-Ref
Get rid of the extra nav.

WP_Users_List_Table will add an extra nav to change user's role.
As we're dealing with opt-outs, we don't need this.

since: 8.0.0
param: array $which Current table nav item.

get_columns()   X-Ref
Specific opt-out columns.

return: array
since: 8.0.0

get_bulk_actions()   X-Ref
Specific bulk actions for opt-outs.

since: 8.0.0

no_items()   X-Ref
The text shown when no items are found.

Nice job, clean sheet!

since: 8.0.0

get_sortable_columns()   X-Ref
The columns opt-outs can be reordered by.

since: 8.0.0

display_rows()   X-Ref
Display opt-out rows.

since: 8.0.0

single_row( $optout = null, $style = '', $role = '', $numposts = 0 )   X-Ref
Display an opt-out row.

return: void
since: 8.0.0
param: BP_Optout $optout   BP_Optout object.
param: string    $style    Styles for the row.
param: string    $role     Role to be assigned to user.
param: int       $numposts Number of posts.

column_cb( $optout = null )   X-Ref
Markup for the checkbox used to select items for bulk actions.

since: 8.0.0
param: BP_Optout $optout BP_Optout object.

column_email_address( $optout = null )   X-Ref
Markup for the checkbox used to select items for bulk actions.

since: 8.0.0
param: BP_Optout $optout BP_Optout object.

column_username( $optout = null )   X-Ref
The inviter/site member who sent the email that prompted the opt-out.

since: 8.0.0
param: BP_Optout $optout BP_Optout object.

column_user_registered( $optout = null )   X-Ref
Display registration date of user whose communication prompted opt-out.

since: 8.0.0
param: BP_Optout $optout BP_Optout object.

column_email_type( $optout = null )   X-Ref
Display type of email that prompted opt-out.

since: 8.0.0
param: BP_Optout $optout BP_Optout object.

column_email_type_description( $optout = null )   X-Ref
Display description of bp-email-type that prompted opt-out.

since: 8.0.0
param: BP_Optout $optout BP_Optout object.

column_optout_date_modified( $optout = null )   X-Ref
Display opt-out date.

since: 8.0.0
param: BP_Optout $optout BP_Optout object.

column_default( $optout = null, $column_name = '' )   X-Ref
Allow plugins to add custom columns.

return: string
since: 8.0.0
param: BP_Optout $optout      BP_Optout object.
param: string    $column_name The column name.



Generated: Wed Oct 20 01:01:02 2021 Cross-referenced by PHPXref 0.7.1