# fluentform/3.6.60/app/Services/wpfluent/wpfluent.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 3.6.60. 37 lines.

- Page: https://pluginprobe.com/plugins/fluentform/3.6.60/code/app/Services/wpfluent/wpfluent.php
- Raw: https://pluginprobe.com/plugins/fluentform/3.6.60/raw/app/Services/wpfluent/wpfluent.php
- Modified: 2019-11-07T10:31:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluentform/3.6.60/code/app/Services/wpfluent/wpfluent.php#L10-L20`.

```php
<?php defined('ABSPATH') or die;

/*
Plugin Name: Wp Fluent
Description: Wp Fluent WordPress Plugin
Version: 1.0.0
Author: 
Author URI: 
Plugin URI: 
License: GPLv2 or later
Text Domain: wpfluent
Domain Path: /resources/languages
*/

// Autoload plugin.
require_once(__DIR__.'/autoload.php');

if (! function_exists('wpFluent')) {
    /**
     * @return \WpFluent\QueryBuilder\QueryBuilderHandler
     */
    function wpFluent()
    {
        static $wpFluent;

        if (! $wpFluent) {
            global $wpdb;

            $connection = new \WpFluent\Connection($wpdb, ['prefix' => $wpdb->prefix]);

            $wpFluent = new \WpFluent\QueryBuilder\QueryBuilderHandler($connection);
        }

        return $wpFluent;
    }
}

```
