-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtwicpics.php
More file actions
36 lines (32 loc) · 952 Bytes
/
twicpics.php
File metadata and controls
36 lines (32 loc) · 952 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
<?php
/**
* Real Time Responsive Images Plugin for WordPress by TwicPics
*
* @package TwicPics
* @link https://www.twicpics.com/
* @version 0.2.4
* @license gpl-2.0
*
* @wordpress-plugin
* Plugin Name: TwicPics
* Plugin URI: https://www.twicpics.com/documentation/
* Description: Delivers pixel perfect images on the fly.
* Version: 0.2.4
* License: GPL-2.0+
* Licence URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Author: TwicPics
* Author URI: https://www.twicpics.com/
* Text Domain: twicpics
* Domain Path: /languages
*/
defined( 'ABSPATH' ) || die( 'ERROR !' );
/**
* Plugin initialisation
*/
function twicpics_init() {
include 'class-twicpics.php';
$twicpics = new TwicPics();
include 'class-twicpics-admin.php';
$twicpics_admin = new TwicPics_Admin();
}
add_action( 'wp_loaded', 'twicpics_init', PHP_INT_MAX );