classes
5 years ago
compatibility
5 years ago
metaboxes
6 years ago
modules
9 years ago
admin-ajax.php
6 years ago
admin-hooks.php
5 years ago
admin-the-functions.php
6 years ago
index.php
5 years ago
index.php
41 lines
| 1 | <?php // load admin related classes & functions |
| 2 | |
| 3 | // Call the instance of auxin upgrader |
| 4 | Auxin_Upgrader_Prepare::get_instance(); |
| 5 | Auxels_System_Check::get_instance(); |
| 6 | |
| 7 | // load admin related functions |
| 8 | include_once( 'admin-the-functions.php' ); |
| 9 | |
| 10 | include_once( 'compatibility/visual-composer/vc.php' ); |
| 11 | include_once( 'compatibility/uvca/uvca.php' ); |
| 12 | include_once( 'compatibility/sliders/rev.php' ); |
| 13 | include_once( 'compatibility/sliders/layerslider.php' ); |
| 14 | include_once( 'compatibility/element-pack/element-pack.php' ); |
| 15 | include_once( 'compatibility/yoast-seo/yoast-seo.php' ); |
| 16 | include_once( 'compatibility/smush/smush.php' ); |
| 17 | |
| 18 | |
| 19 | if ( function_exists('icl_object_id') ) { |
| 20 | include_once( 'compatibility/wpml/translate.php' ); |
| 21 | } |
| 22 | |
| 23 | do_action( 'auxels_admin_classes_loaded' ); |
| 24 | |
| 25 | // load admin related functions |
| 26 | include_once( 'admin-hooks.php' ); |
| 27 | |
| 28 | // init the class for extending the menu nav in back-end |
| 29 | Auxin_Master_Nav_Menu_Admin::get_instance(); |
| 30 | new Auxels_Archive_Menu_Links(); |
| 31 | |
| 32 | // custom permalink setting fields for custom post types |
| 33 | function auxin_init_permalinks( ){ |
| 34 | $aux_permalink = new Auxin_Permalink(); |
| 35 | $aux_permalink->setup(); |
| 36 | |
| 37 | new Auxin_Install(); |
| 38 | //new Auxin_Admin_Dashboard(); |
| 39 | } |
| 40 | add_action( 'auxin_ready', 'auxin_init_permalinks' ); |
| 41 |