-
Notifications
You must be signed in to change notification settings - Fork 0
/
wasp.php
50 lines (46 loc) · 1.4 KB
/
wasp.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
48
49
50
<?php
/**
* Plugin Name: WASP 🐝
* Description: Wow! Another starter plugin
* Plugin URI: https://github.com/themingisprose/wasp
* Author: RogerTM
* Author URI: https://rogertm.com
* Version: 1.0.1
* License: GPL2
* Text Domain: wasp
* Domain Path: /languages
*/
/**
* Copyright (C) 2021 RogerTM roger213tm@gmail.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation.
*
* 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
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) )
die;
/**
* Set text domain
*
* @since 1.0.0
*/
if ( ! function_exists( 'wasp_textdomain' ) ) :
function wasp_textdomain(){
load_plugin_textdomain( 'wasp', false, basename( dirname( __FILE__ ) ) . '/languages/' );
}
add_action( 'plugins_loaded', 'wasp_textdomain' );
endif;
/**
* Include files
*/
require plugin_dir_path( __FILE__ ) .'/autoloader.php';