bp_update_is_item_admin

  • apply_filters( 'bp_update_is_item_admin', $is_item_admin, $component )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 1415
       * @param bool $is_item_admin
       * @param str $component
       */
      function bp_update_is_item_admin( $is_item_admin = false, $component = '' ) {
      	global $bp;
      
      	if ( empty( $component ) )
      		$component = bp_current_component();
      
      	$bp->is_item_admin = apply_filters( 'bp_update_is_item_admin', $is_item_admin, $component );
      }
      
      /**
       * Set the $bp->is_item_mod global
       *
       * @global obj $bp
       * @param bool $is_item_mod
       * @param str $component
       */
      function bp_update_is_item_mod( $is_item_mod = false, $component = '' ) {
      

Comments are closed.