PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 1.2.4
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v1.2.4
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Services / wpfluent / wpfluent.php

wpfluent.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 1.2.4, at app/Services/wpfluent/wpfluent.php

37 lines 719 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined('ABSPATH') or die;
2
3 /*
4 Plugin Name: Wp Fluent
5 Description: Wp Fluent WordPress Plugin
6 Version: 1.0.0
7 Author:
8 Author URI:
9 Plugin URI:
10 License: GPLv2 or later
11 Text Domain: wpfluent
12 Domain Path: /resources/languages
13 */
14
15 // Autoload plugin.
16 require 'autoload.php';
17
18 if (! function_exists('wpFluent')) {
19 /**
20 * @return \WpFluent\QueryBuilder\QueryBuilderHandler
21 */
22 function wpFluent()
23 {
24 static $wpFluent;
25
26 if (! $wpFluent) {
27 global $wpdb;
28
29 $connection = new WpFluent\Connection($wpdb, ['prefix' => $wpdb->prefix]);
30
31 $wpFluent = new \WpFluent\QueryBuilder\QueryBuilderHandler($connection);
32 }
33
34 return $wpFluent;
35 }
36 }
37