Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block wpmudev-sls

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wpmudev-sls / smush-bulk-restore.php
Last active Oct 24, 2018 — forked from UmeshSingla/smush-bulk-restore.php
Adds a Box after settings, that allows you to restore your images from an existing backup created by Smush using Ajax
View smush-bulk-restore.php
if ( ! class_exists( 'WpSmushRestore' ) ) {
class WpSmushRestore {
* Constructor
function __construct() {
wpmudev-sls / m2-protect-post-excerpt-in-archive.php
Last active Aug 12, 2017 — forked from panoslyrakis/m2-protect-post-excerpt-in-archive.php
[Membership 2 Pro] Hide the excerpt in the archive list
View m2-protect-post-excerpt-in-archive.php
//Membership 2 Pro
add_filter( 'the_excerpt', '_wpmudev_ms_custom_content_protection', 20, 1 );
add_filter( 'the_content', '_wpmudev_ms_custom_content_protection', 20, 1 );
function _wpmudev_ms_custom_content_protection( $content ){
global $post;
if( ! $post instanceof WP_Post || ! is_archive() ){
wpmudev-sls / ps-checkout-shortcode.php
Created Aug 12, 2017 — forked from panoslyrakis/ps-checkout-shortcode.php
Provides a shortcode to add the Pro Sites checkout form in any page
View ps-checkout-shortcode.php
Plugin Name: Pro Sites - Checkout Shortcode
Plugin URI:
Description: Provides a shortcode to add the Pro Sites checkout form in any page
Author: Panos Lyrakis @ WPMUDEV
Author URI:
License: GPLv2 or later
You can’t perform that action at this time.