bp_update_is_item_mod

  • apply_filters( 'bp_update_is_item_mod', $is_item_mod, $component )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 1431
       * @param bool $is_item_mod
       * @param str $component
       */
      function bp_update_is_item_mod( $is_item_mod = false, $component = '' ) {
      	global $bp;
      
      	if ( empty( $component ) )
      		$component = bp_current_component();
      
      	$bp->is_item_mod = apply_filters( 'bp_update_is_item_mod', $is_item_mod, $component );
      }
      
      /**
       * Trigger a 404
       *
       * @global object $bp Global BuddyPress settings object
       * @global WP_Query $wp_query WordPress query object
       * @param string $redirect If 'remove_canonical_direct', remove WordPress' "helpful" redirect_canonical action.
       * @since 1.5
       */
      

Comments are closed.