Name: cf-popup
Owner: Caldera Labs
Description: [BETA]Caldera Forms as popups for list building
Created: 2017-03-14 02:39:05.0
Updated: 2017-03-30 01:05:40.0
Pushed: 2017-06-21 17:43:59.0
Homepage: https://calderaforms.com
Size: 18
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Caldera Forms as popups for list building. This is a under development. You probably should not use.
This plugin has no user interface, you probably should not use it
filter( 'cf_popup_select_form', function(){
//change your form ID here
return Caldera_Forms_Forms::get_form( 'CF58c74ff06dabc' );
2) Set an array of form IDs to choose from, at random, unless dismissed:add_filter( 'cf_popup_forms', function( $forms ){
$forms[] = 'CF58c74ff06dabc';
$forms[] = 'CFHiRoy1234';
return $forms;
});
filter( 'cf_popup_popup_options', function( $options, $form_id ){
return array_merge( $options, array(
//Is exit intent or delay? False for delay. True for exit intent
'exit_intent' => false,
//Delay time for delay
'delay' => 2000,
//HTML to show before form
'before' => '',
//HTML to show after form
'after' => ''
) );
0, 2);
Copyright 2017 Josh Pollock for CalderaWP LLC. License under the terms of the GPL v2 or later.