-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathyoast-test-helper.php
47 lines (43 loc) · 1.66 KB
/
yoast-test-helper.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* Yoast Test Helper plugin.
*
* @package Yoast\WP\Test_Helper
* @copyright Copyright (C) 2017-2024, Yoast BV - [email protected]
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3 or higher
*
* @wordpress-plugin
* Plugin Name: Yoast Test Helper
* Version: 1.18
* Plugin URI: https://github.com/yoast/yoast-test-helper
* Description: Utility to provide testing features for Yoast plugins.
* Author: Team Yoast
* Author URI: https://yoa.st/team-yoast-test-helper
* Text Domain: yoast-test-helper
* Domain Path: /languages/
* License: GPL v3
* Requires at least: 6.6
* Requires PHP: 7.2.5
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
use Yoast\WP\Test_Helper\Plugin;
define( 'YOAST_TEST_HELPER_FILE', __FILE__ );
define( 'YOAST_TEST_HELPER_DIR', dirname( YOAST_TEST_HELPER_FILE ) );
define( 'YOAST_TEST_HELPER_VERSION', '1.18' );
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require __DIR__ . '/vendor/autoload.php';
}
$yoast_test_helper = new Plugin();
$yoast_test_helper->add_hooks();