Initial commit after correcting all Plugin Check errors - including renaming the plugin and all parameters, functions, etc
This commit is contained in:
33
out-of-office-for-woo.php
Normal file
33
out-of-office-for-woo.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: Out of Office for Woo
|
||||
Plugin URI: https://git.bejenaru.net/vlad/out-of-office-for-woo/
|
||||
Description: A simple WordPress plugin that offers out of office functionality for WooCommerce.
|
||||
Author: Vlad Bejenaru
|
||||
Tested up to: 6.7.2
|
||||
Version: 1.1
|
||||
Stable tag: 1.1
|
||||
License: GPLv2 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
// If this file is called directly, abort.
|
||||
if( !defined('ABSPATH'))
|
||||
{
|
||||
die('Nothing to see here...');
|
||||
}
|
||||
|
||||
define('OOOWOO_DIR', plugin_dir_path(__FILE__));
|
||||
define('OOOWOO_URL', plugin_dir_url(__FILE__));
|
||||
define('OOOWOO_BASENAME', plugin_basename( __FILE__ ));
|
||||
|
||||
//Create Plugin Page
|
||||
include OOOWOO_DIR . 'includes/out-of-office-for-woo-functions.php';
|
||||
|
||||
//Create Plugin Options
|
||||
include OOOWOO_DIR . 'includes/out-of-office-for-woo-options.php';
|
||||
|
||||
//Create Plugin Page
|
||||
include OOOWOO_DIR . 'includes/out-of-office-for-woo-menu.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user