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 14th July 2024 19:05 Europe/London time based on the source file dated 10th July 2024 11:45 Europe/London time.