| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: SureForms |
| 4 |
* Plugin URI: https://sureforms.com |
| 5 |
* Description: A simple yet powerful way to create modern forms for your website. |
| 6 |
* Requires at least: 6.4 |
| 7 |
* Requires PHP: 7.4 |
| 8 |
* Author: SureForms |
| 9 |
* Author URI: https://sureforms.com/ |
| 10 |
* Version: 1.12.3 |
| 11 |
* License: GPLv2 or later |
| 12 |
* Text Domain: sureforms |
| 13 |
* |
| 14 |
* @package sureforms |
| 15 |
*/ |
| 16 |
|
| 17 |
if ( ! defined( 'ABSPATH' ) ) { |
| 18 |
exit; // Exit if accessed directly. |
| 19 |
} |
| 20 |
|
| 21 |
/** |
| 22 |
* Set constants |
| 23 |
*/ |
| 24 |
define( 'SRFM_FILE', __FILE__ ); |
| 25 |
define( 'SRFM_BASENAME', plugin_basename( SRFM_FILE ) ); |
| 26 |
define( 'SRFM_DIR', plugin_dir_path( SRFM_FILE ) ); |
| 27 |
define( 'SRFM_URL', plugins_url( '/', SRFM_FILE ) ); |
| 28 |
define( 'SRFM_VER', '1.12.3' ); |
| 29 |
define( 'SRFM_SLUG', 'srfm' ); |
| 30 |
// ------ ADDITIONAL CONSTANTS ------- // |
| 31 |
define( 'SRFM_FORMS_POST_TYPE', 'sureforms_form' ); |
| 32 |
define( 'SRFM_ENTRIES', 'sureforms_entries' ); |
| 33 |
define( 'SRFM_WEBSITE', 'https://sureforms.com/' ); |
| 34 |
define( 'SRFM_AI_MIDDLEWARE', 'https://credits.startertemplates.com/sureforms/' ); |
| 35 |
define( 'SRFM_BILLING_PORTAL', 'https://billing.sureforms.com/' ); |
| 36 |
define( 'SRFM_PRO_RECOMMENDED_VER', '1.12.3' ); |
| 37 |
|
| 38 |
define( 'SRFM_SURETRIGGERS_INTEGRATION_BASE_URL', 'https://app.ottokit.com/' ); |
| 39 |
|
| 40 |
require_once 'plugin-loader.php'; |
| 41 |
|