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
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_Integration_Form_FormidableForms::on_success( int $entry_id, int $form_id )
Hooks in a success functions specific to this provider for non AJAX submission handling.
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
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
- $entry_id
-
(Required) The ID of the entry added.
- $form_id
-
(Required) The ID of the form.
Source Source
File: classes/Integration/Form/FormidableForms.php
public function on_success( $entry_id, $form_id ) { // Determine if form has AJAX submission enabled. Only do our form submission method if AJAX is not enabled. $form = $this->get_form( intval( $form_id ) ); if ( isset( $form->options['ajax_submit'] ) && true == $form->options['ajax_submit'] ) { return; } if ( ! self::should_process_submission() ) { return; } $popup_id = self::get_popup_id(); self::increase_conversion( $popup_id ); pum_integrated_form_submission( [ 'popup_id' => $popup_id, 'form_provider' => $this->key, 'form_id' => $form_id, ] ); }
Expand full source code Collapse full source code View on Trac