Skip to content

Instantly share code, notes, and snippets.

View wpmudev-sls's full-sized avatar

WPMUDEV SLS Snippets - Unofficial wpmudev-sls

View GitHub Profile
@wpmudev-sls
wpmudev-sls / forminator-disable-gutenberg-blocks.php
Last active November 29, 2023 11:13
[Forminator Pro] - Disable forminator gutenberg blocks for non admin users
View forminator-disable-gutenberg-blocks.php
<?php
/**
* Plugin Name: [Forminator Pro] Disable forminator gutenberg blocks
* Description: Disable forminator gutenberg blocks for non-admin users
* Author: Prashant @ WPMUDEV
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
if ( ! defined( 'ABSPATH' ) ) {
View smush-mu-compress-buddyboss-uploading-images.php
<?php
/**
* Plugin Name: [ Smush pro ] Compression for BuddyBoss Images
* Description: Compresses images uploaded via BuddyBoss using the Smush plugin.
* Jira: SLS-5551
* Author: Abdoljabbar Bakhshande
* Author URI: https://wpmudev.com
* License: GPLv2 or later
*
* @package WordPress
@wpmudev-sls
wpmudev-sls / forminator-fix-address-autosuggest-elementor.php
Last active November 27, 2023 15:05
[Forminator Pro] - Fix address autosuggest on elementor popup
View forminator-fix-address-autosuggest-elementor.php
<?php
/**
* Plugin Name: [Forminator Pro] Fix address autosuggest issue on elementor
* Description: Fix address autosuggest issue on elementor
* Author: Prashant @ WPMUDEV
* Task: SLS-5557
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-form-modified-date.php
Last active November 22, 2023 08:29
[Forminator Pro] - Show form modified date instead of post modified date
View forminator-form-modified-date.php
<?php
/**
* Plugin Name: [Forminator Pro] Show form modified date instead of post modified date
* Description: Show form modified date instead of post modified date
* Author: Prashant @ WPMUDEV
* Task: SLS-5541
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-geolocation-coordinates-mail.php
Last active November 21, 2023 15:34
[Forminator Pro] - Send latitude and logitude in the mail
View forminator-geolocation-coordinates-mail.php
<?php
/**
* Plugin Name: [Forminator Pro] Send coordinates in the mail
* Description: Send address coordinates in the mail
* Author: Prashant @ WPMUDEV
* Task: SLS-5519
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-upload-mapping-hubspot.php
Last active November 21, 2023 15:22
[Forminator Pro] - Fix upload mapping to hubspot
View forminator-upload-mapping-hubspot.php
<?php
/**
* Plugin Name: [Forminator Pro] Upload field mapping to hubspot
* Description: Upload field mapping to hubspot
* Author: Prashant @ WPMUDEV
* Task: SLS-5443
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
View smush-mu-fix-cli-bulk-smush.php
<?php
/**
* Plugin Name: WP Smush CLI Fix
* Description: Fixes the WP Smush CLI issue where not all images are smushed.
* Jira: SLS-5419
* Author: Abdoljabbar Bakhshande
* Author URI: https://wpmudev.com
* License: GPLv2 or later
*
* @package WordPress
@wpmudev-sls
wpmudev-sls / hummingbird-cw-varnish-api.php
Last active November 11, 2023 21:52
[Hummingbird Pro] Clear Cloudways Varnish cache from API
View hummingbird-cw-varnish-api.php
<?php
/**
* Plugin Name: [Hummingbird Pro] Clear Cloudways Varnish cache from API
* Description: Uses the Cloudways API to clear the server Varnish cache, useful for sites behind a Cloudflare proxy
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-5481
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / smartcrawl-wc-product-bulk-edit-fix.php
Last active November 10, 2023 00:02
[SmartCrawl Pro] WooCommerce products Focus Keyword and Meta bulk edit fix
View smartcrawl-wc-product-bulk-edit-fix.php
<?php
/**
* Plugin Name: [SmartCrawl Pro] WooCommerce products Focus Keyword and Meta bulk edit fix
* Description: Solves a bug with the bulk edit and the SmartCrawl Focus Keyword and Meta data
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-5489
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
View smush-mu-fix-resize-loop-issue.php
<?php
/**
* Plugin Name: [ Smush Pro ] Fix Resize Loop Issue when images are larger than original file.
* Description: [ Smsuh Pro ] we skip resmush for images that already have the 'no_savings' error.
* Jira: SLS-5364
* Author: Abdoljabbar Bakhshande
* Author URI: https://wpmudev.com
* License: GPLv2 or later
*
* @package WordPress