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 24th April 2024 13:35 Europe/London time based on the source file dated 22nd April 2024 18:10 Europe/London time.