2020-04-07 13:03:04 +00:00
|
|
|
<?php
|
2020-08-13 14:53:39 +00:00
|
|
|
/**
|
|
|
|
* Blog module.
|
|
|
|
*
|
|
|
|
* @since 1.1.0
|
|
|
|
*
|
|
|
|
* @package GP Premium
|
|
|
|
*/
|
2020-04-07 13:03:04 +00:00
|
|
|
|
2020-08-13 14:53:39 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // No direct access, please.
|
|
|
|
}
|
2020-04-07 13:03:04 +00:00
|
|
|
|
2020-08-13 14:53:39 +00:00
|
|
|
// Define the version. This used to be a standalone plugin, so we need to keep this constant.
|
2020-04-07 13:03:04 +00:00
|
|
|
if ( ! defined( 'GENERATE_BLOG_VERSION' ) ) {
|
|
|
|
define( 'GENERATE_BLOG_VERSION', GP_PREMIUM_VERSION );
|
|
|
|
}
|
|
|
|
|
2020-08-13 14:53:39 +00:00
|
|
|
// Include functions identical between standalone addon and GP Premium.
|
2020-04-07 13:03:04 +00:00
|
|
|
require plugin_dir_path( __FILE__ ) . 'functions/generate-blog.php';
|