post_status ) { return false; } // ? Check post_type is Lasso Lite or not if ( SIMPLE_URLS_SLUG !== $post->post_type ) { if ( class_exists( 'Lasso_Shortcode' ) ) { $shortcode_pro = new Lasso_Shortcode(); return $shortcode_pro->lasso_core_shortcode( $attr ); } return false; } // ? Check post_type surl to execute shortcode correctly if ( SIMPLE_URLS_SLUG === $post->post_type ) { $pass_data = array( 'post' => $post, 'title' => $title, 'title_type' => $title_type, 'title_url' => $title_url, 'description' => $description, 'badge' => $badge, 'price' => $price, 'primary_url' => $primary_url, 'primary_text' => $primary_text, 'image_url' => $image_url, 'anchor_id' => $anchor_id, 'brag' => $brag, ); // ? Default single-style display box return Helper::include_with_variables( Helper::get_path_views_folder() . 'displays/single.php', $pass_data ); } return false; } }