-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpronamic-forms.php
More file actions
52 lines (45 loc) · 1.26 KB
/
pronamic-forms.php
File metadata and controls
52 lines (45 loc) · 1.26 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
<?php
/**
* Plugin Name: Pronamic Forms
* Plugin URI: https://www.pronamic.eu/plugins/pronamic-forms/
* Description: Pronamic Forms is a powerful WordPress plugin and library that allows you to create and manage customizable forms, powered by WordPress blocks and new WordPress APIs like the Interactivity and HTML APIs. Easily build forms for donations, orders, and more using Gutenberg blocks, and handle payments seamlessly with the Pronamic Pay platform.
*
* Version: 2.0.1
* Requires at least: 6.7
* Requires PHP: 8.2
*
* Author: Pronamic
* Author URI: https://www.pronamic.eu/
*
* Text Domain: pronamic-forms
* Domain Path: /languages/
*
* License: GPL-2.0-or-later
*
* @author Pronamic <info@pronamic.eu>
* @copyright 2005-2023 Pronamic
* @license GPL-2.0-or-later
* @package Pronamic\PronamicForms
*/
declare(strict_types=1);
namespace Pronamic\PronamicForms;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Autoload.
*/
$autoload_path = __DIR__ . '/vendor/autoload_packages.php';
if ( \file_exists( $autoload_path ) ) {
require_once $autoload_path;
}
/**
* Bootstrap.
*/
add_action(
'init',
function () {
load_plugin_textdomain( 'pronamic-forms', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
}
);
Plugin::instance();