Initial Commit: first running version of the plugin
This commit is contained in:
29
woo-out-of-office.php
Normal file
29
woo-out-of-office.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: Woo Out of Office
|
||||
Description: A simple WordPress plugin that offers out of office functionality for WooCommerce.
|
||||
Version: 1.0
|
||||
Author: Vlad Bejenaru
|
||||
License: GPL2
|
||||
*/
|
||||
|
||||
// If this file is called directly, abort.
|
||||
if( !defined('ABSPATH'))
|
||||
{
|
||||
die('Nothing to see here...');
|
||||
}
|
||||
|
||||
define('WOOO_DIR', plugin_dir_path(__FILE__));
|
||||
define('WOOO_URL', plugin_dir_url(__FILE__));
|
||||
define('WOOO_BASENAME', plugin_basename( __FILE__ ));
|
||||
|
||||
//Create Plugin Page
|
||||
include WOOO_DIR . 'includes/woo-out-of-office-functions.php';
|
||||
|
||||
//Create Plugin Options
|
||||
include WOOO_DIR . 'includes/woo-out-of-office-options.php';
|
||||
|
||||
//Create Plugin Page
|
||||
include WOOO_DIR . 'includes/woo-out-of-office-menu.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user