Methods
Description
BP_Messages_Notices_Admin::setup_actions()

Add action hooks.

Source: bp-messages/classes/class-bp-messages-notices-admin.php:83

BP_Messages_Notices_Admin::setup_globals()

Populate the classs variables.

Source: bp-messages/classes/class-bp-messages-notices-admin.php:74

BP_Messages_Notices_List_Table::__construct()

Constructor

Source: bp-messages/classes/class-bp-messages-notices-list-table.php:24

BP_Messages_Notices_List_Table::ajax_user_can()

Checks the current user’s permissions

Source: bp-messages/classes/class-bp-messages-notices-list-table.php:40

BP_Messages_Notices_List_Table::column_date_sent()

Generates content for the “date_sent” column.

Source: bp-messages/classes/class-bp-messages-notices-list-table.php:199

BP_Messages_Notices_List_Table::column_message()

Generates content for the “message” column.

Source: bp-messages/classes/class-bp-messages-notices-list-table.php:188

BP_Messages_Notices_List_Table::column_subject()

Generates content for the “subject” column.

Source: bp-messages/classes/class-bp-messages-notices-list-table.php:116

BP_Messages_Notices_List_Table::get_columns()

Get a list of columns. The format is: ‘internal-name’ => ‘Title’

Source: bp-messages/classes/class-bp-messages-notices-list-table.php:79

BP_Messages_Notices_List_Table::prepare_items()

Set up items for display in the list table.

Source: bp-messages/classes/class-bp-messages-notices-list-table.php:52

BP_Messages_Notices_List_Table::single_row()

Generates content for a single row of the table

Source: bp-messages/classes/class-bp-messages-notices-list-table.php:97

BP_Messages_Sitewide_Notices_Widget::__construct()

Constructor method.

Source: bp-messages/classes/class-bp-messages-sitewide-notices-widget.php:22

BP_Messages_Sitewide_Notices_Widget::form()

Render the settings form for Appearance > Widgets.

Source: bp-messages/classes/class-bp-messages-sitewide-notices-widget.php:107

BP_Messages_Sitewide_Notices_Widget::update()

Process the saved settings for the widget.

Source: bp-messages/classes/class-bp-messages-sitewide-notices-widget.php:92

BP_Messages_Sitewide_Notices_Widget::widget()

Render the widget.

Source: bp-messages/classes/class-bp-messages-sitewide-notices-widget.php:42

BP_Messages_Thread_Template::__construct()

Constructor method.

Source: bp-messages/classes/class-bp-messages-thread-template.php:89

BP_Messages_Thread_Template::has_messages()

Whether there are messages available in the loop.

Source: bp-messages/classes/class-bp-messages-thread-template.php:101

BP_Messages_Thread_Template::messages()

Whether there are messages left in the loop to iterate over.

Source: bp-messages/classes/class-bp-messages-thread-template.php:142

BP_Messages_Thread_Template::next_message()

Set up the next member and iterate index.

Source: bp-messages/classes/class-bp-messages-thread-template.php:114

BP_Messages_Thread_Template::rewind_messages()

Rewind the messages and reset message index.

Source: bp-messages/classes/class-bp-messages-thread-template.php:124

BP_Messages_Thread_Template::the_message()

Set up the current message inside the loop.

Source: bp-messages/classes/class-bp-messages-thread-template.php:170

BP_Messages_Thread::__construct()

Constructor.

Source: bp-messages/classes/class-bp-messages-thread.php:131

BP_Messages_Thread::check_access()

Checks whether a user is a part of a message thread discussion.

Source: bp-messages/classes/class-bp-messages-thread.php:1376

BP_Messages_Thread::convert_orderby_to_order_by_term()

Convert the ‘orderby’ param into a proper SQL term/column.

Source: bp-messages/classes/class-bp-messages-thread.php:1718

BP_Messages_Thread::delete()

Mark messages in a thread as deleted or delete all messages in a thread.

Source: bp-messages/classes/class-bp-messages-thread.php:642

BP_Messages_Thread::get()

Query for recipients.

Source: bp-messages/classes/class-bp-messages-thread.php:1527

BP_Messages_Thread::get_current_threads_for_user()

Get current message threads for a user.

Source: bp-messages/classes/class-bp-messages-thread.php:816

BP_Messages_Thread::get_first_message()

Get a thread first message

Source: bp-messages/classes/class-bp-messages-thread.php:418

BP_Messages_Thread::get_inbox_count()

Gets the unread message count for a user.

Source: bp-messages/classes/class-bp-messages-thread.php:1328

BP_Messages_Thread::get_last_message()

Get a thread’s last message

Source: bp-messages/classes/class-bp-messages-thread.php:372

BP_Messages_Thread::get_last_sender()

Returns the userlink of the last sender in a message thread.

Source: bp-messages/classes/class-bp-messages-thread.php:1297

BP_Messages_Thread::get_messages()

Get all messages associated with a thread.

Source: bp-messages/classes/class-bp-messages-thread.php:452

BP_Messages_Thread::get_messages_count()

Count the totla message in thread

Source: bp-messages/classes/class-bp-messages-thread.php:507

BP_Messages_Thread::get_messages_started()

Get the time of when the message is started, could be the first message or the last deleted message of the current user

Source: bp-messages/classes/class-bp-messages-thread.php:540

BP_Messages_Thread::get_meta_query_sql()

Get the SQL for the ‘meta_query’ param in BP_Messages_Thread::get_current_threads_for_user().

Source: bp-messages/classes/class-bp-messages-thread.php:1138

BP_Messages_Thread::get_recipient_links()

Returns a string containing all the message recipient userlinks.

Source: bp-messages/classes/class-bp-messages-thread.php:1430

BP_Messages_Thread::get_recipients()

Returns recipients for a message thread.

Source: bp-messages/classes/class-bp-messages-thread.php:260

BP_Messages_Thread::get_recipients_for_thread()

Static method to get message recipients by thread ID.

Source: bp-messages/classes/class-bp-messages-thread.php:596

BP_Messages_Thread::get_threads_for_user()

Get message threads.

Source: bp-messages/classes/class-bp-messages-thread.php:840

BP_Messages_Thread::get_total_threads_for_user()

Returns the total number of message threads for a user.

Source: bp-messages/classes/class-bp-messages-thread.php:1242

BP_Messages_Thread::get_user_last_deleted_message()

Get the user’s last deleted message in thread

Source: bp-messages/classes/class-bp-messages-thread.php:568

BP_Messages_Thread::is_thread_recipient()

Check if the current user is in the thread’s active recipient list

Source: bp-messages/classes/class-bp-messages-thread.php:610

BP_Messages_Thread::is_valid()

Checks whether a message thread exists.

Source: bp-messages/classes/class-bp-messages-thread.php:1400

BP_Messages_Thread::mark_as_read()

Mark a thread as read.

Source: bp-messages/classes/class-bp-messages-thread.php:1168

BP_Messages_Thread::mark_as_unread()

Mark a thread as unread.

Source: bp-messages/classes/class-bp-messages-thread.php:1203

BP_Messages_Thread::mark_read()

Mark a thread initialized in this class as read.

Source: bp-messages/classes/class-bp-messages-thread.php:235

BP_Messages_Thread::mark_unread()

Mark a thread initialized in this class as unread.

Source: bp-messages/classes/class-bp-messages-thread.php:246

BP_Messages_Thread::populate()

Populate method.

Source: bp-messages/classes/class-bp-messages-thread.php:154

BP_Messages_Thread::prepare_last_message_status()

Check if the thread contains any deleted recipients and it’s last active message

Source: bp-messages/classes/class-bp-messages-thread.php:314

BP_Messages_Thread::update_last_message_status()

Update the thread’s deleted recipient and set the message deletion status

Source: bp-messages/classes/class-bp-messages-thread.php:340

BP_Messages_Thread::update_tables()

Upgrade method for the older BP message thread DB table.

Source: bp-messages/classes/class-bp-messages-thread.php:1459