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