-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrazorforms.php
More file actions
61 lines (56 loc) · 2.63 KB
/
Copy pathrazorforms.php
File metadata and controls
61 lines (56 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
/**
* Plugin Name: RazorForms — Payment Page Builder
* Plugin URI: https://www.digiasylum.com/razorforms/
* Description: No-code Razorpay payment page builder for WordPress. Create beautiful, branded payment forms with a built-in item list, custom fields, and CRM — zero coding required.
* Version: 1.5.0
* Author: Digiasylum
* Author URI: https://www.digiasylum.com/
* Contributors: umeshkumarsahai
* Donate link: https://about.me/umeshkumarsahai
* License: GPL-2.0+
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: razorforms
* Domain Path: /languages
* Requires at least: 5.8
* Requires PHP: 7.4
* Tested up to: 6.5
*
* @package RazorForms
* @author Digiasylum <hello@digiasylum.com>
* @link https://www.digiasylum.com/
*
* Lead Developer : Umesh Kumar Sahai
* LinkedIn : https://linkedin.com/in/umeshkumarsahai
* Personal : https://about.me/umeshkumarsahai
* Studio : https://www.digiasylum.com/
*/
if ( ! defined( 'ABSPATH' ) ) exit;
define( 'RF_VERSION', '1.5.0' );
define( 'RF_DIR', plugin_dir_path( __FILE__ ) );
define( 'RF_URL', plugin_dir_url( __FILE__ ) );
define( 'RF_SLUG', 'razorforms' );
// ── Load classes (order matters) ───────────────────────────
require_once RF_DIR . 'includes/class-rf-db.php';
require_once RF_DIR . 'includes/class-rf-post-type.php';
require_once RF_DIR . 'includes/class-rf-templates.php'; // must load before meta-boxes
require_once RF_DIR . 'includes/class-rf-meta-boxes.php';
require_once RF_DIR . 'includes/class-rf-shortcode.php';
require_once RF_DIR . 'includes/class-rf-ajax.php';
require_once RF_DIR . 'includes/class-rf-receipt.php';
require_once RF_DIR . 'includes/class-rf-admin.php';
require_once RF_DIR . 'includes/class-rf-settings.php';
require_once RF_DIR . 'includes/class-rf-webhook.php'; // standalone — prevents fatal error
// ── Activation ──────────────────────────────────────────────
register_activation_hook( __FILE__, array( 'RF_DB', 'install' ) );
// ── Boot ────────────────────────────────────────────────────
add_action( 'plugins_loaded', function () {
RF_Post_Type::init();
RF_Meta_Boxes::init();
RF_Shortcode::init();
RF_Ajax::init();
RF_Receipt::init();
RF_Admin::init();
RF_Settings::init();
RF_Webhook::init();
} );