-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plug-in classes structure has been prepared
- Loading branch information
Showing
5 changed files
with
152 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; | ||
} | ||
|
||
if ( !class_exists('Woo2YML_YandexMarket_Admin') ) { | ||
/** | ||
* Class Woo2YML_YandexMarket_Admin | ||
* | ||
* Main Admin Class. | ||
* | ||
* @author Andrey Mishchenko | ||
* @since 1.0.0 | ||
* @package woo2yml-yandex-market | ||
*/ | ||
class Woo2YML_YandexMarket_Admin { | ||
|
||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; | ||
} | ||
|
||
if ( !class_exists('Woo2YML_YandexMarket_Core') ) { | ||
/** | ||
* Class Woo2YML_YandexMarket_Core | ||
* | ||
* Plugin Core Class. | ||
* | ||
* @author Andrey Mishchenko | ||
* @since 1.0.0 | ||
* @package woo2yml-yandex-market | ||
*/ | ||
class Woo2YML_YandexMarket_Core { | ||
|
||
/** | ||
* Current Class Instance. | ||
* | ||
* @var Woo2YML_YandexMarket_Core | ||
*/ | ||
private static $INSTANCE = null; | ||
|
||
|
||
/** | ||
* Return current class instance. | ||
* | ||
* @since 1.0.0 | ||
* | ||
* @return Woo2YML_YandexMarket_Core | ||
*/ | ||
public static function get_instance() { | ||
|
||
if ( self::$INSTANCE == null ) { | ||
self::$INSTANCE = new Woo2YML_YandexMarket_Core(); | ||
} | ||
|
||
return self::$INSTANCE; | ||
|
||
// get_instance | ||
} | ||
|
||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; | ||
} | ||
|
||
if ( !class_exists('Woo2YML_YandexMarket_i18n') ) { | ||
/** | ||
* Class Woo2YML_YandexMarket_i18n | ||
* | ||
* Internationalization functionality helper class. | ||
* | ||
* @author Andrey Mishchenko | ||
* @since 1.0.0 | ||
* @package woo2yml-yandex-market | ||
*/ | ||
class Woo2YML_YandexMarket_i18n { | ||
|
||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
/** | ||
* Registers the processing of the plugin hooks | ||
* | ||
* @author Andrey Mishchenko | ||
* @since 1.0.0 | ||
* @package woo2yml-yandex-market | ||
*/ | ||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; | ||
} |
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