Collections functions
General functions
Render functions
Theme permission 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 May 2022 20:35 Europe/London time based on the source file dated 5th May 2022 10:10 Europe/London time.