Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Utils_Alerts::get_global_alerts()
Description Description
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Return Return
(array)
Source Source
File: classes/Utils/Alerts.php
public static function get_global_alerts() { $alerts = self::get_alerts(); $global_alerts = array(); foreach ( $alerts as $alert ) { if ( $alert['global'] ) { $global_alerts[] = $alert; } } return $global_alerts; }
Expand full source code Collapse full source code View on Trac