-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnotion2wp.php
More file actions
48 lines (40 loc) · 1.24 KB
/
notion2wp.php
File metadata and controls
48 lines (40 loc) · 1.24 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
<?php
/**
* Plugin Name
*
* @package Notion2WP
* @author Takshil Kunadia
* @copyright 2026 Takshil Kunadia
* @license GPL2
*
* @wordpress-plugin
* Plugin Name: Notion2WP
* Plugin URI: https://notion2wp.framer.website/
* Description: Publish Notion databases and pages to WordPress posts seamlessly.
* Version: 1.1.0
* Requires at least: 6.5
* Tested up to: 6.9.4
* Requires PHP: 7.4
* Author: Takshil Kunadia
* Author URI: https://takshil.dev
* Text Domain: notion2wp
* License: GPL2
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
defined( 'ABSPATH' ) || exit;
define( 'NOTION2WP_VERSION', '1.1.0' );
// Define plugin constants.
if ( ! defined( 'NOTION2WP_PLUGIN_FILE' ) ) {
define( 'NOTION2WP_PLUGIN_FILE', __FILE__ );
}
if ( ! defined( 'NOTION2WP_PLUGIN_DIR' ) ) {
define( 'NOTION2WP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
}
if ( ! defined( 'NOTION2WP_PLUGIN_URL' ) ) {
define( 'NOTION2WP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
}
if ( ! defined( 'NOTION2WP_ABSPATH' ) ) {
define( 'NOTION2WP_ABSPATH', __DIR__ . '/' );
}
require_once __DIR__ . '/vendor/autoload.php';
Notion2WP\WP_Notion::init();