Repository navigation
Expand file tree
/
Copy pathtypes-fields-quicknav.php
More file actions
36 lines (35 loc) · 1.52 KB
/
Copy pathtypes-fields-quicknav.php
File metadata and controls
36 lines (35 loc) · 1.52 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
<?php
/**
* Plugin Name: Types & Fields QuickNav
* Plugin URI: https://deckerwebplugins.com/en/plugins/types-fields-quicknav/
* Description: Quick toolbar access to available content type and custom field administration.
* Version: 1.1.1
* Requires at least: 7.1.2
* Requires PHP: 8.2
* Author: David Decker – DECKERWEB
* Author URI: https://deckerwebplugins.com/
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: types-fields-quicknav
* Domain Path: /languages/
* Update URI: https://github.com/deckerweb/types-fields-quicknav
* GitHub Plugin URI: https://github.com/deckerweb/types-fields-quicknav
*
* Copyright © 2026 David Decker – DECKERWEB.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
defined( 'ABSPATH' ) || exit;
define( 'DTFQ_FILE', __FILE__ );
define( 'DTFQ_VERSION', '1.1.1' );
require_once __DIR__ . '/includes/deckerweb-plugin-library/bootstrap.php';
deckerweb_library_register_v2( __FILE__, [], __DIR__ . '/includes/deckerweb-plugin-library' );
if ( is_admin() || wp_doing_cron() || ( defined( 'WP_CLI' ) && WP_CLI ) ) {
/** @return void Registers the pinned updater after WordPress initializes translations. */
add_action( 'init', static function (): void {
require __DIR__ . '/includes/components.php';
}, 20 );
}
require_once __DIR__ . '/includes/class-provider.php';
require_once __DIR__ . '/includes/class-plugin.php';
require_once __DIR__ . '/includes/class-settings.php';
add_action( 'init', [ '\Deckerweb\TypesFieldsQuickNav\Plugin', 'boot' ], 30 );