Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

count_errors()

Description

Counting errors found in a collection of items. An error is found when an item has an "error" key.

Parameters

ColumnTypeDefaultDescription
$a array Collection of items that may contain errors.

Return

integer

This article was last updated 27th April 2024 13:05 Europe/London time based on the source file dated 26th April 2024 15:50 Europe/London time.