31 lines
755 B
PHP
31 lines
755 B
PHP
<?php
|
|
/*
|
|
Plugin Name: Woo Out of Office
|
|
Plugin URI: https://git.bejenaru.net/vlad/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';
|
|
|
|
|