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_Triggers::get_labels()
Returns an array of trigger labels.
Description Description
Use the filter pum_get_trigger_labels to add or modify labels.
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/Triggers.php
public function get_labels() { static $labels; if ( ! isset( $labels ) ) { /** * Filter the array of trigger labels. * * @param array $to_do The list of trigger labels. */ $labels = apply_filters( 'pum_get_trigger_labels', array() ); } return $labels; }
Expand full source code Collapse full source code View on Trac