Methods |
Description |
---|---|
BP_Messages_Notices_Admin::setup_actions() |
Add action hooks. |
BP_Messages_Notices_Admin::setup_globals() |
Populate the classs variables. |
BP_Messages_Notices_List_Table::__construct() |
Constructor |
BP_Messages_Notices_List_Table::ajax_user_can() |
Checks the current user’s permissions |
BP_Messages_Notices_List_Table::column_date_sent() |
Generates content for the “date_sent” column. |
BP_Messages_Notices_List_Table::column_message() |
Generates content for the “message” column. |
BP_Messages_Notices_List_Table::column_subject() |
Generates content for the “subject” column. |
BP_Messages_Notices_List_Table::get_columns() |
Get a list of columns. The format is: ‘internal-name’ => ‘Title’ |
BP_Messages_Notices_List_Table::prepare_items() |
Set up items for display in the list table. |
BP_Messages_Notices_List_Table::single_row() |
Generates content for a single row of the table |
BP_Messages_Sitewide_Notices_Widget::__construct() |
Constructor method. |
BP_Messages_Sitewide_Notices_Widget::form() |
Render the settings form for Appearance > Widgets. |
BP_Messages_Sitewide_Notices_Widget::update() |
Process the saved settings for the widget. |
BP_Messages_Sitewide_Notices_Widget::widget() |
Render the widget. |
BP_Messages_Thread_Template::__construct() |
Constructor method. |
BP_Messages_Thread_Template::has_messages() |
Whether there are messages available in the loop. |
BP_Messages_Thread_Template::messages() |
Whether there are messages left in the loop to iterate over. |
BP_Messages_Thread_Template::next_message() |
Set up the next member and iterate index. |
BP_Messages_Thread_Template::rewind_messages() |
Rewind the messages and reset message index. |
BP_Messages_Thread_Template::the_message() |
Set up the current message inside the loop. |
BP_Messages_Thread::__construct() |
Constructor. |
BP_Messages_Thread::check_access() |
Checks whether a user is a part of a message thread discussion. |
BP_Messages_Thread::convert_orderby_to_order_by_term() |
Convert the ‘orderby’ param into a proper SQL term/column. |
BP_Messages_Thread::delete() |
Mark messages in a thread as deleted or delete all messages in a thread. |
BP_Messages_Thread::get() |
Query for recipients. |
BP_Messages_Thread::get_current_threads_for_user() |
Get current message threads for a user. |
BP_Messages_Thread::get_first_message() |
Get a thread first message |
BP_Messages_Thread::get_inbox_count() |
Gets the unread message count for a user. |
BP_Messages_Thread::get_last_message() |
Get a thread’s last message |
BP_Messages_Thread::get_last_sender() |
Returns the userlink of the last sender in a message thread. |
BP_Messages_Thread::get_messages() |
Get all messages associated with a thread. |
BP_Messages_Thread::get_messages_count() |
Count the totla message in thread |
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 |
BP_Messages_Thread::get_meta_query_sql() |
Get the SQL for the ‘meta_query’ param in BP_Messages_Thread::get_current_threads_for_user(). |
BP_Messages_Thread::get_recipient_links() |
Returns a string containing all the message recipient userlinks. |
BP_Messages_Thread::get_recipients() |
Returns recipients for a message thread. |
BP_Messages_Thread::get_recipients_for_thread() |
Static method to get message recipients by thread ID. |
BP_Messages_Thread::get_threads_for_user() |
Get message threads. |
BP_Messages_Thread::get_total_threads_for_user() |
Returns the total number of message threads for a user. |
BP_Messages_Thread::get_user_last_deleted_message() |
Get the user’s last deleted message in thread |
BP_Messages_Thread::is_thread_recipient() |
Check if the current user is in the thread’s active recipient list |
BP_Messages_Thread::is_valid() |
Checks whether a message thread exists. |
BP_Messages_Thread::mark_as_read() |
Mark a thread as read. |
BP_Messages_Thread::mark_as_unread() |
Mark a thread as unread. |
BP_Messages_Thread::mark_read() |
Mark a thread initialized in this class as read. |
BP_Messages_Thread::mark_unread() |
Mark a thread initialized in this class as unread. |
BP_Messages_Thread::populate() |
Populate method. |
BP_Messages_Thread::prepare_last_message_status() |
Check if the thread contains any deleted recipients and it’s last active message |
BP_Messages_Thread::update_last_message_status() |
Update the thread’s deleted recipient and set the message deletion status |
BP_Messages_Thread::update_tables() |
Upgrade method for the older BP message thread DB table. |