Changeset 3841 for trunk/bp-forums/bp-forums-template.php
- Timestamp:
- 01/22/2011 04:10:42 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums/bp-forums-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-template.php
r3830 r3841 1 1 <?php 2 3 /** 4 * Output the forums component slug 5 * 6 * @package BuddyPress 7 * @subpackage Forums Template 8 * @since BuddyPress {unknown} 9 * 10 * @uses bp_get_forums_slug() 11 */ 12 function bp_forums_slug() { 13 echo bp_get_forums_slug(); 14 } 15 /** 16 * Return the forums component slug 17 * 18 * @package BuddyPress 19 * @subpackage Forums Template 20 * @since BuddyPress {unknown} 21 */ 22 function bp_get_forums_slug() { 23 global $bp; 24 return apply_filters( 'bp_get_forums_slug', $bp->forums->slug ); 25 } 26 27 /** 28 * Output the forums component root slug 29 * 30 * @package BuddyPress 31 * @subpackage Forums Template 32 * @since BuddyPress {unknown} 33 * 34 * @uses bp_get_forums_root_slug() 35 */ 36 function bp_forums_root_slug() { 37 echo bp_get_forums_root_slug(); 38 } 39 /** 40 * Return the forums component root slug 41 * 42 * @package BuddyPress 43 * @subpackage Forums Template 44 * @since BuddyPress {unknown} 45 */ 46 function bp_get_forums_root_slug() { 47 global $bp; 48 return apply_filters( 'bp_get_forums_root_slug', $bp->forums->root_slug ); 49 } 2 50 3 51 class BP_Forums_Template_Forum {
Note: See TracChangeset
for help on using the changeset viewer.