Update API

This commit is contained in:
Hoang Huu
2019-10-04 16:26:23 +07:00
parent 218c914e0d
commit cfd65c5aa4
7 changed files with 317 additions and 261 deletions

View File

@@ -125,10 +125,11 @@ if ( ! class_exists( 'OpalEstate' ) ) {
register_activation_hook( OPALESTATE_PLUGIN_FILE, [ 'Opalestate_Install', 'install' ] );
add_action( 'plugins_loaded', [ self::$instance, 'load_textdomain' ] );
self::$instance->setup();
self::$instance->roles = new Opalestate_Roles();
self::$instance->html = new Opalestate_HTML_Elements();
self::$instance->api = new Opalestate_API();
self::$instance->session = new Opalestate_Session();
self::$instance->roles = new Opalestate_Roles();
self::$instance->html = new Opalestate_HTML_Elements();
self::$instance->api = new Opalestate_API();
self::$instance->api_admin = new Opalestate_API_Admin();
self::$instance->session = new Opalestate_Session();
/**
*