PluginProbe ʕ •ᴥ•ʔ
ShopPress – Shop Builder for Elementor and WooCommerce / trunk
ShopPress – Shop Builder for Elementor and WooCommerce vtrunk
shop-press / Admin / Main.php
shop-press / Admin Last commit date
API 1 week ago DefaultOptions 2 years ago PagesFields 4 months ago SettingsFields 4 months ago Announcement.php 1 week ago Assets.php 1 week ago Main.php 1 year ago Page.php 1 week ago PostType.php 2 years ago
Main.php
34 lines
1 <?php
2 /**
3 * Admin.
4 *
5 * @package ShopPress
6 */
7
8 namespace ShopPress\Admin;
9
10 defined( 'ABSPATH' ) || exit;
11
12 class Main {
13 /**
14 * Init.
15 *
16 * @since 1.0.0
17 */
18 public static function init() {
19 static::init_admin();
20 }
21
22 /**
23 * Load the admin dependencies.
24 *
25 * @since 1.0.0
26 */
27 private static function init_admin() {
28 API\Services::instance();
29 PostType::init();
30 Assets::init();
31 // Announcement::init();
32 }
33 }
34