PluginProbe
Faust.js / 0.7.0
Faust.js v0.7.0
1.8.12 1.8.11 1.4.1 1.8.0 1.8.8 1.8.9 trunk 0.7.0 0.7.1 0.7.10 0.7.11 0.7.3 0.7.4 0.7.5 0.7.6 0.7.7 0.7.8 0.7.9 0.8.0 0.8.1 0.8.3 0.8.4 0.8.5 0.8.6 0.8.7 All 40 releases
faustwp / faustwp.php

faustwp.php in Faust.js 0.7.0, at faustwp.php

53 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: FaustWP
4 * Plugin URI: https://faustjs.org/
5 * Description: Plugin for working with Faust.js, the Headless WordPress Framework.
6 * Author: WP Engine
7 * Author URI: https://wpengine.com/
8 * License: GPLv2 or later
9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
10 * Text Domain: faustwp
11 * Domain Path: /languages
12 * Version: 0.7.0
13 * Requires PHP: 7.2
14 * Requires at least: 5.7
15 *
16 * @package FaustWP
17 */
18
19 namespace WPE\FaustWP;
20
21 use function WPE\FaustWP\Settings\is_events_enabled;
22
23 if ( ! defined( 'ABSPATH' ) ) {
24 exit;
25 }
26
27 define( 'FAUSTWP_FILE', __FILE__ );
28 define( 'FAUSTWP_DIR', dirname( __FILE__ ) );
29 define( 'FAUSTWP_URL', plugin_dir_url( __FILE__ ) );
30 define( 'FAUSTWP_PATH', plugin_basename( FAUSTWP_FILE ) );
31 define( 'FAUSTWP_SLUG', dirname( plugin_basename( FAUSTWP_FILE ) ) );
32
33 require FAUSTWP_DIR . '/includes/auth/functions.php';
34 require FAUSTWP_DIR . '/includes/replacement/functions.php';
35 require FAUSTWP_DIR . '/includes/settings/functions.php';
36 require FAUSTWP_DIR . '/includes/graphql/functions.php';
37 require FAUSTWP_DIR . '/includes/utilities/functions.php';
38 require FAUSTWP_DIR . '/includes/auth/callbacks.php';
39 require FAUSTWP_DIR . '/includes/deny-public-access/callbacks.php';
40 require FAUSTWP_DIR . '/includes/menus/callbacks.php';
41 require FAUSTWP_DIR . '/includes/admin-menus/callbacks.php';
42 require FAUSTWP_DIR . '/includes/replacement/callbacks.php';
43 require FAUSTWP_DIR . '/includes/replacement/graphql-callbacks.php';
44 require FAUSTWP_DIR . '/includes/graphql/callbacks.php';
45 require FAUSTWP_DIR . '/includes/rest/callbacks.php';
46 require FAUSTWP_DIR . '/includes/settings/callbacks.php';
47 require FAUSTWP_DIR . '/includes/updates/upgrade-database.php';
48 require FAUSTWP_DIR . '/includes/utilities/callbacks.php';
49
50 if ( is_events_enabled() ) {
51 require FAUSTWP_DIR . '/includes/events/callbacks.php';
52 }
53