Changeset 6320 for trunk/src/includes/extend/buddypress/functions.php
- Timestamp:
- 02/26/2017 07:12:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/functions.php
r6285 r6320 176 176 177 177 /** 178 * Hook bbPress engagements template into plugins template 179 * 180 * @since 2.6.0 bbPress (r6320) 181 * 182 * @uses add_action() To add the content hook 183 * @uses bp_core_load_template() To load the plugins template 184 */ 185 function bbp_member_forums_screen_engagements() { 186 add_action( 'bp_template_content', 'bbp_member_forums_engagements_content' ); 187 bp_core_load_template( apply_filters( 'bbp_member_forums_screen_engagements', 'members/single/plugins' ) ); 188 } 189 190 /** 178 191 * Hook bbPress favorites template into plugins template 179 192 * … … 235 248 236 249 <?php bbp_get_template_part( 'user', 'replies-created' ); ?> 250 251 </div> 252 253 <?php 254 } 255 256 /** 257 * Get the topic engagements template part 258 * 259 * @since 2.6.0 bbPress (r6320) 260 * 261 * @uses bbp_get_template_part() 262 */ 263 function bbp_member_forums_engagements_content() { 264 ?> 265 266 <div id="bbpress-forums" class="bbpress-wrapper"> 267 268 <?php bbp_get_template_part( 'user', 'engagements' ); ?> 237 269 238 270 </div>
Note: See TracChangeset
for help on using the changeset viewer.