PluginProbe
Plus WebP or AVIF / 1.06
Plus WebP or AVIF v1.06
5.21 5.20 5.12 5.11 trunk 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 2.00 2.01 2.02 2.03 2.04 2.05 All 47 releases
plus-webp / pluswebp.php

pluswebp.php in Plus WebP or AVIF 1.06, at pluswebp.php

54 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Plus WebP
4 * Plugin URI: https://wordpress.org/plugins/plus-webp/
5 * Description: Generate WebP.
6 * Version: 1.06
7 * Author: Katsushi Kawamori
8 * Author URI: https://riverforest-wp.info/
9 * License: GPL2
10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11 * Text Domain: plus-webp
12 * Domain Path: /languages
13 *
14 * @package Plus WebP
15 */
16
17 /*
18 Copyright (c) 2019- Katsushi Kawamori (email : dodesyoswift312@gmail.com)
19 This program is free software; you can redistribute it and/or modify
20 it under the terms of the GNU General Public License as published by
21 the Free Software Foundation; version 2 of the License.
22
23 This program is distributed in the hope that it will be useful,
24 but WITHOUT ANY WARRANTY; without even the implied warranty of
25 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 GNU General Public License for more details.
27
28 You should have received a copy of the GNU General Public License
29 along with this program; if not, write to the Free Software
30 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 */
32
33 add_action( 'plugins_loaded', 'pluswebp_load_textdomain' );
34 /** ==================================================
35 * i18n
36 *
37 * @since 1.00
38 */
39 function pluswebp_load_textdomain() {
40 load_plugin_textdomain( 'plus-webp' );
41 }
42
43 if ( ! class_exists( 'PlusWebp' ) ) {
44 require_once dirname( __FILE__ ) . '/lib/class-pluswebp.php';
45 }
46 if ( ! class_exists( 'PlusWebpAdmin' ) ) {
47 require_once dirname( __FILE__ ) . '/lib/class-pluswebpadmin.php';
48 }
49 if ( ! class_exists( 'PlusWebpRegist' ) ) {
50 require_once dirname( __FILE__ ) . '/lib/class-pluswebpregist.php';
51 }
52
53
54