-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenqueue-me.php
More file actions
47 lines (37 loc) · 1000 Bytes
/
Copy pathenqueue-me.php
File metadata and controls
47 lines (37 loc) · 1000 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
40
41
42
43
44
45
46
47
<?php
/*
Plugin Name: Enqueue Me
Plugin URI: http://www.wpmaz.uk
Description: Easily enqueue your favourite CSS and Javascipt libraries into your theme
Version: 0.5
Text Domain: enqueue-me
Author: Mario Jaconelli
Author URI: http://www.wpmaz.uk
*/
include('inc/admin.php');
include('inc/load-scripts.php');
include('inc/core.php');
include('inc/import-export.php');
include('inc/fav-lists.php');
/**
*
* Setup Internationalisation
*
* @since 0.1
*
*/
function enq_me_load_textdomain() {
load_plugin_textdomain( 'enqueue-me', false, dirname( plugin_basename(__FILE__) ) . '/lang/' );
}
add_action('plugins_loaded', 'enq_me_load_textdomain');
/**
*
* Create Plugin Settings Page
*
* @since 0.1
*
*/
function enq_me_admin_page(){
add_submenu_page('options-general.php','Enqueue Me', 'Enqueue Me', 'manage_options', 'enq_me_settings','enq_me_admin_menu_markup');
}
add_action( 'admin_menu', 'enq_me_admin_page' );