Customise ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF WordPress plugin v6.0.4+

WordPress plugin ID: 218 shortpixel-image-optimiser-child download to customise ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF WordPress plugin version 6.0.4+ author shortpixel.

Download

Support Plugin Guide

shortpixel-image-optimiser-child/plugin.php

/*
 * Plugin Name:       ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF Child Plugin
 * Plugin URI:        https://www.wordpressdeveloperlondon.com/shortpixel-image-optimizer-optimize-images-convert-webp-avif/
 * Description:       Custom ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF plugin code dependant on ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF plugin
 * Version:           1.0.1
 * Requires at least: 5.2
 * Requires PHP:      7.2
 * Author:            wordpressdeveloperlondon
 * Author URI:        https://www.wordpressdeveloperlondon.com
 * License:           GPLv3
 * License URI:       https://www.gnu.org/licenses/gpl-3.0.txt
 * Text Domain:       shortpixel-image-optimiser-child
 * Domain Path:       /languages
 * Requires Plugins:  shortpixel-image-optimiser
 */

/*
 * -----------------------------------------------------------------------------------------------------
 * WordPress plugin ID: 218 shortpixel-image-optimiser-child version 1.0.1
 * WordPress plugin dependancy: ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
 * -----------------------------------------------------------------------------------------------------
 */

if((get_option("wordpressdeveloperlondon_settingwordpress_seo_218")) != 1) 
{
	function wordpressdeveloperlondon_files_wordpress_seo_218()
	{
		$plugin_url = plugin_dir_url(__FILE__);

		wp_enqueue_style("wordpress_seo_218-stylesheet", $plugin_url . "css/style.css");
		wp_enqueue_script("wordpress_seo_218-script", $plugin_url . "js/scripts.js", array("jquery"), "1.0.0", true);
	}
	add_action("wp_enqueue_scripts", "wordpressdeveloperlondon_files_wordpress_seo_218", 80);
}

if(get_option("wordpressdeveloperlondon_setting_htmlwordpress_seo_218") != 1)
{
	function plugin_sourcewordpress_seo_218()
	{

/css/style.css

/* Stylesheet file */

/js/scripts.js

/* JavaScript file */
jQuery(document).ready(function($){ });

/languages/

//empty

Extend WordPress Plugins

With a WordPress plugin built like a WordPress child theme

Parent plugin path /wp-content/plugins/shortpixel-image-optimiser
Child plugin path (this WP plugin) /wp-content/plugins/shortpixel-image-optimiser-child
WordPress plugin ID 218
Size ≥20KB zipped

Parent Plugin API Data

Star rating

Score 90 / 100
Total 773
1 Star 72
2 Star 13
3 Star 13
4 Star 14
5 Star 661

Plugin usage

Downloads 15,318,271
Active Installs 300,000

Support

Effectiveness 55.56%
Requests 9
Requests Solved 5

December 2024 data source: https://api.wordpress.org/plugins/info/1.2/?action=query_plugins

Support

Contact Ben about WordPress plugin ID: 218 WordPress Developer London since 2006