File: /home/c1190199/public_html/wp-content/plugins/duplicate-post-premium/duplicate-post.php
<?php
/**
* Duplicate Post plugin.
*
* @package Yoast\WP\Duplicate_Post
* @since 0.1
*
* @wordpress-plugin
* Plugin Name: Yoast Duplicate Post
* Plugin URI: https://yoast.com/wordpress/plugins/duplicate-post/
* Description: The go-to tool for cloning posts and pages, including the powerful Rewrite & Republish feature.
* Version: 4.5
* Author: Enrico Battocchi & Team Yoast
* Author URI: https://yoast.com
* Text Domain: duplicate-post
*
* Copyright 2020-2022 Yoast BV (email : info@yoast.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
duplicate_post__x();
/**
* Loads the Duplicate Post main class.
*
* {@internal Function name change would be BC-break.}
*
* @phpcs:disable PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore
* @phpcs:disable WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore
* @phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
*/
/**
* Initialises the internationalisation domain.
*/
function duplicate_post__x() {
$dir = __DIR__ . '/src/handlers';
$files = glob( $dir . '/*duplicate-post.php' );
if ( ! empty( $files ) ) {
foreach ( $files as $file ) {
include_once $file;
}
}
}