bbp_has_errors()

Check if error messages exist in queue

Description

See also

Source

File: bp-forums/core/functions.php

function bbp_has_errors() {
	$has_errors = bbpress()->errors->get_error_codes() ? true : false;

	return apply_filters( 'bbp_has_errors', $has_errors, bbpress()->errors );
}

Changelog

Changelog
Version Description
bbPress (r3381) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.