-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1379 from sapayth/enhance/restructure_plugin_codes
enhance: restructure plugin codes
- Loading branch information
Showing
182 changed files
with
9,605 additions
and
10,274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<?php | ||
|
||
namespace WeDevs\Wpuf\Lib; | ||
|
||
use Appsero\Client; | ||
|
||
if ( ! class_exists( 'WPUF_WeDevs_Insights' ) ) : | ||
|
||
/** | ||
|
@@ -13,18 +17,13 @@ | |
* | ||
* @author Tareq Hasan <[email protected]> | ||
*/ | ||
class WPUF_WeDevs_Insights { | ||
class WeDevs_Insights { | ||
|
||
/** | ||
* Initialize the class | ||
*/ | ||
public function __construct( $file ) { | ||
|
||
if ( ! class_exists( 'Appsero\Client' ) ) { | ||
require_once __DIR__ . '/appsero/Client.php'; | ||
} | ||
|
||
$client = new Appsero\Client( '958afc63-99f8-4b98-b321-fcbc5cf95694', 'WP User Frontend', $file ); | ||
$client = new Client( '958afc63-99f8-4b98-b321-fcbc5cf95694', 'WP User Frontend', $file ); | ||
|
||
$this->insights = $client->insights(); | ||
|
||
|
File renamed without changes.
File renamed without changes.
Oops, something went wrong.