Use new code style
This commit is contained in:
@ -24,7 +24,9 @@ defined('ABSPATH') || exit;
|
||||
*/
|
||||
class Product_Manager extends Base_Manager {
|
||||
|
||||
use \WP_Ultimo\Apis\Rest_Api, \WP_Ultimo\Apis\WP_CLI, \WP_Ultimo\Traits\Singleton;
|
||||
use \WP_Ultimo\Apis\Rest_Api;
|
||||
use \WP_Ultimo\Apis\WP_CLI;
|
||||
use \WP_Ultimo\Traits\Singleton;
|
||||
|
||||
/**
|
||||
* The manager slug.
|
||||
@ -53,7 +55,5 @@ class Product_Manager extends Base_Manager {
|
||||
$this->enable_rest_api();
|
||||
|
||||
$this->enable_wp_cli();
|
||||
|
||||
} // end init;
|
||||
|
||||
} // end class Product_Manager;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user