-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.php
More file actions
40 lines (33 loc) · 1.23 KB
/
plugin.php
File metadata and controls
40 lines (33 loc) · 1.23 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
<?php
/**
* Plugin Name: Outstand Forms
* Description: Build flexible, modern forms using the WordPress block editor.
* Plugin URI: https://github.com/s3rgiosan/outstand-forms
* Requires at least: 6.7
* Requires PHP: 8.2
* Version: 1.0.0
* Author: Sérgio Santos
* Author URI: https://s3rgiosan.dev/?utm_source=wp-plugins&utm_medium=outstand-forms&utm_campaign=author-uri
* License: GPL-3.0-or-later
* License URI: https://spdx.org/licenses/GPL-3.0-or-later.html
* Update URI: https://s3rgiosan.dev/
* GitHub Plugin URI: https://github.com/s3rgiosan/outstand-forms
* Text Domain: outstand-forms
*/
namespace Outstand\Forms;
use YahnisElsts\PluginUpdateChecker\v5\PucFactory;
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'OUTSTAND_FORMS_PATH', plugin_dir_path( __FILE__ ) );
define( 'OUTSTAND_FORMS_URL', plugin_dir_url( __FILE__ ) );
if ( file_exists( OUTSTAND_FORMS_PATH . 'vendor/autoload.php' ) ) {
require_once OUTSTAND_FORMS_PATH . 'vendor/autoload.php';
}
PucFactory::buildUpdateChecker(
'https://github.com/s3rgiosan/outstand-forms/',
__FILE__,
'outstand-forms'
);
( Plugin::get_instance() )->setup();