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::cookie_field()
Returns the cookie field used for trigger options.
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/Triggers.php
public function cookie_field() { /** * Filter the array of default trigger cookie field. * * @param array $fields The list of trigger cookie field. */ return apply_filters( 'pum_trigger_cookie_field', array( 'label' => __( 'Cookie Name', 'popup-maker' ), 'desc' => __( 'Choose which cookies will disable this trigger?', 'popup-maker' ), 'type' => 'select', 'multiple' => true, 'as_array' => true, 'select2' => true, 'priority' => 99, 'options' => array( 'add_new' => __( 'Add New Cookie', 'popup-maker' ), ), ) ); }
Expand full source code Collapse full source code View on Trac