Changeset 8482 for trunk/src/bp-messages/bp-messages-screens.php
- Timestamp:
- 06/08/2014 09:12:34 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-messages/bp-messages-screens.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-screens.php
r6806 r8482 4 4 * BuddyPress Messages Screens 5 5 * 6 * Screen functions are the controllers of BuddyPress. They will execute when their7 * specific URL is caught. They will first save or manipulate data using business8 * functions, then pass on the user to a template file.6 * Screen functions are the controllers of BuddyPress. They will execute when 7 * their specific URL is caught. They will first save or manipulate data using 8 * business functions, then pass on the user to a template file. 9 9 * 10 10 * @package BuddyPress … … 15 15 if ( !defined( 'ABSPATH' ) ) exit; 16 16 17 /** 18 * Load the Messages > Inbox screen. 19 */ 17 20 function messages_screen_inbox() { 18 21 if ( bp_action_variables() ) { … … 25 28 } 26 29 30 /** 31 * Load the Messages > Sent screen. 32 */ 27 33 function messages_screen_sentbox() { 28 34 if ( bp_action_variables() ) { … … 35 41 } 36 42 43 /** 44 * Load the Messages > Compose screen. 45 */ 37 46 function messages_screen_compose() { 38 47 global $bp; … … 87 96 } 88 97 98 /** 99 * Load an individual conversation screen. 100 * 101 * @return bool|null False on failure. 102 */ 89 103 function messages_screen_conversation() { 90 104 … … 110 124 add_action( 'bp_screens', 'messages_screen_conversation' ); 111 125 126 /** 127 * Load the Messages > Notices screen. 128 * 129 * @return false|null False on failure. 130 */ 112 131 function messages_screen_notices() { 113 132 global $notice_id; … … 153 172 } 154 173 174 /** 175 * Render the markup for the Messages section of Settings > Notifications. 176 */ 155 177 function messages_screen_notification_settings() { 156 178 if ( bp_action_variables() ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)