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
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
PUM_Model_Popup::set_event_defaults( $event )
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
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
Parameters Parameters
- $event
-
(Required)
Source Source
File: classes/Model/Popup.php
public function set_event_defaults( $event ) { $this->get_event_count( $event ); $this->get_event_count( $event, 'total' ); $keys = PUM_Analytics::event_keys( $event ); $last = $this->get_meta( 'popup_last_' . $keys[1] ); if ( empty( $last ) || ! is_numeric( $last ) ) { $this->update_meta( 'popup_last_' . $keys[1], 0 ); } }
Expand full source code Collapse full source code View on Trac