[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Groups: Directory screen handler 4 * 5 * @package BuddyPress 6 * @subpackage GroupScreens 7 * @since 3.0.0 8 */ 9 10 /** 11 * Handle the display of the Groups directory index. 12 * 13 * @since 1.0.0 14 */ 15 function groups_directory_groups_setup() { 16 if ( bp_is_groups_directory() ) { 17 bp_update_is_directory( true, 'groups' ); 18 19 /** 20 * Fires before the loading of the Groups directory index. 21 * 22 * @since 1.1.0 23 */ 24 do_action( 'groups_directory_groups_setup' ); 25 26 /** 27 * Filters the template to load for the Groups directory index. 28 * 29 * @since 1.0.0 30 * 31 * @param string $value Path to the groups directory index template to load. 32 */ 33 bp_core_load_template( apply_filters( 'groups_template_directory_groups', 'groups/index' ) ); 34 } 35 } 36 add_action( 'bp_screens', 'groups_directory_groups_setup', 2 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |