bbp_has_errors

  • apply_filters( 'bbp_has_errors', $has_errors, $bbp->errors )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-functions.php :: Trac Source Line: 1521
      	// Assume no errors
      	$has_errors = false;
      
      	// Check for errors
      	if ( $bbp->errors->get_error_codes() )
      		$has_errors = true;
      
      	// Filter return value
      	$has_errors = apply_filters( 'bbp_has_errors', $has_errors, $bbp->errors );
      
      	return $has_errors;
      }
      
      /** Post Statuses *************************************************************/
      
      /**
       * Return the public post status ID
       *
       * @since bbPress (r3504)
      

Comments are closed.