Changeset 9383 for trunk/src/bp-forums/bp-forums-screens.php
- Timestamp:
- 01/21/2015 12:13:52 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-forums/bp-forums-screens.php
r9351 r9383 29 29 bp_update_is_directory( true, 'forums' ); 30 30 31 /** 32 * Fires early in the initialization of bbPress-based areas of BuddyPress. 33 * 34 * @since BuddyPress (1.1.0) 35 */ 31 36 do_action( 'bbpress_init' ); 32 37 … … 76 81 } 77 82 83 /** 84 * Fires right before the loading of the forums directory screen template file. 85 * 86 * @since BuddyPress (1.1.0) 87 */ 78 88 do_action( 'bp_forums_directory_forums_setup' ); 79 89 90 /** 91 * Filters the template to load for the forums directory screen. 92 * 93 * @since BuddyPress (1.1.0) 94 * 95 * @param string $template Path to the forums template to load. 96 */ 80 97 bp_core_load_template( apply_filters( 'bp_forums_template_directory_forums_setup', 'forums/index' ) ); 81 98 } … … 87 104 */ 88 105 function bp_member_forums_screen_topics() { 106 107 /** 108 * Fires right before the loading of the forums topics started screen template file. 109 * 110 * @since BuddyPress (1.5.0) 111 */ 89 112 do_action( 'bp_member_forums_screen_topics' ); 90 113 114 /** 115 * Filters the template to load for the forums topics started screen. 116 * 117 * @since BuddyPress (1.5.0) 118 * 119 * @param string $template Path to the forums topics started template to load. 120 */ 91 121 bp_core_load_template( apply_filters( 'bp_member_forums_screen_topics', 'members/single/home' ) ); 92 122 } … … 96 126 */ 97 127 function bp_member_forums_screen_replies() { 128 129 /** 130 * Fires right before the loading of the forums replied to screen template file. 131 * 132 * @since BuddyPress (1.5.0) 133 */ 98 134 do_action( 'bp_member_forums_screen_replies' ); 99 135 136 /** 137 * Filters the template to load for the forums replied to screen. 138 * 139 * @since BuddyPress (1.5.0) 140 * 141 * @param string $template Path to the forums replied to template to load. 142 */ 100 143 bp_core_load_template( apply_filters( 'bp_member_forums_screen_replies', 'members/single/home' ) ); 101 144 } … … 107 150 */ 108 151 function bp_member_forums_screen_favorites() { 152 153 /** 154 * Fires right before the loading of the forums favorites screen template file. 155 * 156 * @since BuddyPress (1.5.0) 157 */ 109 158 do_action( 'bp_member_forums_screen_favorites' ); 110 159 160 /** 161 * Filters the template to load for the forums favorites screen. 162 * 163 * @since BuddyPress (1.5.0) 164 * 165 * @param string $template Path to the forums favorites template to load. 166 */ 111 167 bp_core_load_template( apply_filters( 'bp_member_forums_screen_favorites', 'members/single/home' ) ); 112 168 } … … 120 176 return false; 121 177 178 /** 179 * Fires right before the loading of the forums single forum screen template file. 180 * 181 * @since BuddyPress (1.5.0) 182 */ 122 183 do_action( 'bp_forums_screen_single_forum' ); 123 184 185 /** 186 * Filters the template to load for the forums single forum screen. 187 * 188 * @since BuddyPress (1.5.0) 189 * 190 * @param string $template Path to the forums single forum template to load. 191 */ 124 192 bp_core_load_template( apply_filters( 'bp_forums_screen_single_forum', 'forums/single/forum' ) ); 125 193 } … … 134 202 return false; 135 203 204 /** 205 * Fires right before the loading of the forums single topic screen template file. 206 * 207 * @since BuddyPress (1.5.0) 208 */ 136 209 do_action( 'bp_forums_screen_single_topic' ); 137 210 211 /** 212 * Filters the template to load for the forums single topic screen. 213 * 214 * @since BuddyPress (1.5.0) 215 * 216 * @param string $template Path to the forums single topic template to load. 217 */ 138 218 bp_core_load_template( apply_filters( 'bp_forums_screen_single_topic', 'forums/single/topic' ) ); 139 219 }
Note: See TracChangeset
for help on using the changeset viewer.