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-different-redirect-aweber-submission.php
Last active May 30, 2024 13:22
[Forminator Pro] - DIfferent redirect based on integration (Aweber) submission result
<?php
/**
* Plugin Name: [Forminator Pro] DIfferent redirect based on Aweber integration submission result
* Description: DIfferent redirect based on Aweber integration submission result.
* Author: Prashant @ WPMUDEV
* Task: SLS-6184
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-redirect-user-site.php
Last active May 30, 2024 13:10
[Forminator Pro] - Redirect user to own site after activation
<?php
/**
* Plugin Name: [Forminator Pro] Redirect user to own site after activation
* Description: Redirect user to own site after activation.
* Author: Prashant @ WPMUDEV
* Task: SLS-6183
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-response-count-personality-quiz.php
Last active May 30, 2024 13:03
[Forminator Pro] - Number of responses for each question in personality quiz
<?php
/**
* Plugin Name: [Forminator Pro] Number of responses for each question in personality quiz
* Description: Show number of responses for each question in personality quiz.
* Author: Prashant @ WPMUDEV
* Task: SLS-6162
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / thc-remove-wp-admin-references.php
Last active May 30, 2024 13:04
[THC] - Remove WP admin references from the hub client
<?php
/**
* Plugin Name: [The Hub Client] Remove WP Admin references
* Description: Removes WP Admin references from the hub page.
* Author: Prashant @ WPMUDEV
* Task: SLS-6140
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-youtube-url-validate.php
Last active May 30, 2024 12:47
[Forminator Pro] - Youtube URL validation
<?php
/**
* Plugin Name: [Forminator Pro] Youtube URL validation
* Description: Validates youtube URL.
* Author: Prashant @ WPMUDEV
* Task: SLS-6188
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / smarcrawl_opengraph_filter.php
Last active May 28, 2024 04:41
[SmartCrawl Pro] Open Graph data filter
<?php
/**
* Plugin Name: [SmartCrawl Pro] Open Graph data filter
* Description: Adds a wds_opengraph_printer_data filter, useful to modify the Open Graph data before printing it
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-6172
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
<?php
/**
* Note this snippet code might only helpful when loopback request is healthy from your site, you can check it
* on page Tools->Site Healthy:
* https://www.awesomescreenshot.com/image/48378734?key=386be0c026074a4650500ac184f9b8a5
*/
function wdev_smush_fix_loopback_issue() {
// Check if Smush Pro is active and its version.
if ( ! class_exists( 'WP_Smush' ) ) {
return;
<?php
/**
* Plugin Name: Fix re-check loop while local webp active
* Description: Overrides the should_reoptimize method to fix WebP missing files issue.
* Jira: SLS-6099, SMUSH-1557
* Author: Abdoljabbar Bakhshande
* Author URI: https://wpmudev.com
* License: GPLv2 or later
*
* @package WebP_Missing_Files_Fix
@wpmudev-sls
wpmudev-sls / defender-recaptcha-woffice.php
Last active May 9, 2024 21:40
[Defender Pro] reCaptcha compatibility with Woffice theme
<?php
/**
* Plugin Name: [Defender Pro] reCaptcha compatibility with Woffice theme
* Description: Adds a custom reCaptcha integration to the Woffice's Login template
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-6127
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / defender-recaptcha-minimog.php
Last active May 7, 2024 03:20
[Defender Pro] reCaptcha compatibility with Minimog theme
<?php
/**
* Plugin Name: [Defender Pro] reCaptcha compatibility with Minimog theme
* Description: Adds a custom reCaptcha integration to the Minimog's Login/Register pop-up
* Author: Anderson Salas @ WPMUDEV
* Task: SLS-6095
* Author URI: https://premium.wpmudev.org
* License: GPLv2 or later
*/