-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsd-plugin.php
More file actions
39 lines (33 loc) · 856 Bytes
/
sd-plugin.php
File metadata and controls
39 lines (33 loc) · 856 Bytes
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
<?php
/**
* This is a Hello World test plugin for WP Super Duper Class.
*
* @wordpress-plugin
* Plugin Name: Super Duper - Examples
* Description: This is a Hello World test plugin for WP Super Duper Class.
* Version: 1.2.31
* Author: AyeCode
* Author URI: https://ayecode.io
* Text Domain: super-duper
* Domain Path: /languages
* Requires at least: 5.0
* Tested up to: 6.9
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'WP_Super_Duper' ) ) {
// include the class if needed
include_once( dirname( __FILE__ ) . "/wp-super-duper.php" );
}
/*
* Hello world example.
*/
include_once( dirname( __FILE__ ) . "/hello-world.php" );
/*
* Map example.
*/
include_once( dirname( __FILE__ ) . "/map.php" );
if ( ! function_exists( 'sd_get_class_build_keys' ) ) {
include_once( dirname( __FILE__ ) . "/sd-functions.php" );
}