changing gravity forms type checking in the submission filter to not be explicit
add_action( 'gform_after_submission', 'set_post_content', 10, 2 );
function set_post_content( $entry, $form ) {
// echo '<pre>', print_r($entry), '</pre>';
- if($form['id'] === 4 || $form['id'] === 6){
+ if($form['id'] == 4 || $form['id'] == 6){
if ( $form['gfpdf_form_settings'] ){
// get the first array key from gravity forms pdf settings array
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><?php wp_title(); ?></title>
- <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.23.0">
+ <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.24">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" href="<?php echo bloginfo('template_url')?>/favicon.png?v=1.1">
<?php wp_head(); ?>
Author: Gaslight Media
Author URI: http://www.gaslightmedia.com
Description: A theme for Benzie Area Visitors Bureau
-Version: 1.0.23
+Version: 1.0.24
*/