# plus-webp/1.06/pluswebp.php

Plus WebP or AVIF, version 1.06. 54 lines.

- Page: https://pluginprobe.com/plugins/plus-webp/1.06/code/pluswebp.php
- Raw: https://pluginprobe.com/plugins/plus-webp/1.06/raw/pluswebp.php
- Modified: 2019-10-22T11:42:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/plus-webp/1.06/code/pluswebp.php#L10-L20`.

```php
<?php
/**
 * Plugin Name: Plus WebP
 * Plugin URI:  https://wordpress.org/plugins/plus-webp/
 * Description: Generate WebP.
 * Version:     1.06
 * Author:      Katsushi Kawamori
 * Author URI:  https://riverforest-wp.info/
 * License:     GPL2
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: plus-webp
 * Domain Path: /languages
 *
 * @package Plus WebP
 */

/*
	Copyright (c) 2019- Katsushi Kawamori (email : dodesyoswift312@gmail.com)
	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; version 2 of the License.

	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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

add_action( 'plugins_loaded', 'pluswebp_load_textdomain' );
/** ==================================================
 * i18n
 *
 * @since 1.00
 */
function pluswebp_load_textdomain() {
	load_plugin_textdomain( 'plus-webp' );
}

if ( ! class_exists( 'PlusWebp' ) ) {
	require_once dirname( __FILE__ ) . '/lib/class-pluswebp.php';
}
if ( ! class_exists( 'PlusWebpAdmin' ) ) {
	require_once dirname( __FILE__ ) . '/lib/class-pluswebpadmin.php';
}
if ( ! class_exists( 'PlusWebpRegist' ) ) {
	require_once dirname( __FILE__ ) . '/lib/class-pluswebpregist.php';
}



```
