forked from torounit/hello-kushimoto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhello-kushimoto.php
30 lines (24 loc) · 910 Bytes
/
hello-kushimoto.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
<?php
/*
Plugin Name: Hello Kushimoto
Plugin URI: https://github.com/torounit/hello-kushimoto/
Version: 2.2.2
Description: This is not just a plugin. When activated you will randomly see a Quotations of legendry engineer Mr. M in the upper right of your admin screen on every page.
Author: Toro_Unit
Author URI: https://github.com/torounit/
Text Domain: hello-kushimoto
Domain Path: /languages
*/
require "src/class-hello-kushimoto.php";
require "src/class-hello-kushimoto-speaker.php";
require "src/class-hello-kushimoto-random-speaker.php";
require "src/class-miyasan.php";
/**
* run plugin.
*/
function hello_kushimoto_init() {
$speaker = apply_filters( 'hello_kushimoto_speaker', new Miyasan() );
new Hello_Kushimoto( $speaker );
load_plugin_textdomain( 'hello-kushimoto', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
}
add_action( 'plugins_loaded', 'hello_kushimoto_init' );