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 5th May 2024 10:35 Europe/London time based on the source file dated 3rd May 2024 14:45 Europe/London time.