PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/veezar.kerihosting.com/wp-content/plugins/buddypress/bp-groups/actions/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/veezar.kerihosting.com/wp-content/plugins/buddypress/bp-groups/actions/random.php |
<?php /** * Groups: Random group action handler * * @package BuddyPress * @subpackage GroupActions * @since 3.0.0 */ /** * Catch requests for a random group page (example.com/groups/?random-group) and redirect. * * @since 1.2.0 */ function groups_action_redirect_to_random_group() { if ( bp_is_groups_component() && isset( $_GET['random-group'] ) ) { $group = BP_Groups_Group::get_random( 1, 1 ); bp_core_redirect( trailingslashit( bp_get_groups_directory_permalink() . $group['groups'][0]->slug ) ); } } add_action( 'bp_actions', 'groups_action_redirect_to_random_group' );