Require SitiDeliveryTimeNotice class in the main plugin file
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
* Plugin Name: Siti Delivery Time Notices
|
* Plugin Name: Siti Delivery Time Notices
|
||||||
* Plugin URI: https://plugins.robert.ooo/plugin/
|
* Plugin URI: https://plugins.robert.ooo/plugin/
|
||||||
* Description: A plugin to show delivery time notices on WooCommerce products.
|
* Description: A plugin to show delivery time notices on WooCommerce products.
|
||||||
* Version: 1.0.0
|
* Version: 1.0.1
|
||||||
* Requires at least: 5.2
|
* Requires at least: 5.2
|
||||||
* Requires PHP: 7.2
|
* Requires PHP: 7.2
|
||||||
* Author: Roberto Guagliardo | SitiWeb
|
* Author: Roberto Guagliardo | SitiWeb
|
||||||
@@ -48,4 +48,6 @@ $updater->set_owner( 'roberto' );
|
|||||||
$updater->set_repository( SITI_DELIVERY_TIME_NOTICES_SLUG );
|
$updater->set_repository( SITI_DELIVERY_TIME_NOTICES_SLUG );
|
||||||
$updater->initialize();
|
$updater->initialize();
|
||||||
|
|
||||||
|
require_once plugin_dir_path( __FILE__ ) . 'includes/SitiDeliveryTimeNotice.php';
|
||||||
|
|
||||||
SitiDeliveryTimeNotice::init();
|
SitiDeliveryTimeNotice::init();
|
||||||
Reference in New Issue
Block a user