bp_update_is_directory

  • apply_filters( 'bp_update_is_directory', $is_directory, $component )

    Source Reference:

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

Comments are closed.