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 / mp-virtual-products.php
Last active October 9, 2017 16:50
[MarketPress] - Adds Virtual products type in product's Product Kind
<?php
/*
Plugin Name: [MarketPress] Virtual products
Plugin URI: https://premium.wpmudev.org/
Description: Adds Virtual products type in product's Product Kind
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / m2-dripped-countdown.php
Last active August 24, 2017 16:46
[Membership] - Dripped memberships countdown
<?php
/*
Plugin Name: [Membership] - Dripped memberships countdown
Plugin URI: https://premium.wpmudev.org/
Description: Adds a countdown for dripped memberships
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / wp-rest-api-example
Created September 7, 2017 18:58
WordPress - Simple Rest API example
<?php
/*
Plugin Name: REST Api Example
Plugin URI: https://premium.wpmudev.org/
Description: A usage example of the wp REST API
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / cp-front-ajax-cloner-sc.php
Created September 8, 2017 09:59
[CoursePress] - Cloner Shrortcode
<?php
/*
Plugin Name: [CoursePress] - Cloner Shrortcode
Plugin URI: https://premium.wpmudev.org/
Description: Provides a shortcode to clone courses via ajax
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / app-workers-weekly-hours.php
Last active September 16, 2017 18:28
[Appointments +] Set the weekly calendar time slots based on worker start hours for each day
<?php
/*
Plugin Name: [Appointments] - Workers weekly hours
Plugin URI: https://premium.wpmudev.org/
Description: Sets the weekly calendar time slots based on worker start hours for each day
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / ms-preview-notification.php
Last active September 17, 2017 18:51
[Membership 2 Pro] - Notifications Preview
<?php
/*
Plugin Name: [Membership 2 Pro] - Notifications Preview
Plugin URI: https://premium.wpmudev.org/
Description: Adds an option in notifications settings page to send a test email
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / coursepress_user_roles.php
Created September 21, 2017 17:45
A custom function that returns an array with instructor and student role per user id for CoursePress
<?php
/*
Plugin Name: [CoursePress 2] - User role in CoursePress
Plugin URI: https://premium.wpmudev.org/
Description: A custom function that returns an array with instructor and student role per user id for CoursePress
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / [MarketPress] - Google Tag Manager
Last active September 25, 2017 11:42
Adds basic feature of Google Tag Manager to MarketPress
<?php
/*
Plugin Name: MarketPress - Google Tag Manager
Plugin URI: https://premium.wpmudev.org/
Description: Adds Google Tag Manager to site
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / wpmudev-cp-cli.php
Created September 26, 2017 16:22
[CoursePress] - Provides a set of functions that can create Courses and Units. These functions can be called from wp-cli with eval
<?php
/*
Plugin Name: [CoursePress] - Set of functions that ca nbe used in wp-cli
Plugin URI: https://premium.wpmudev.org/
Description: Provides a set of functions that can create Courses and Units. These functions can be called from wp-cli with eval
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / inscub-support-uf-template.php
Last active October 3, 2017 08:47
[Incsub Support] - Single ticket template override
<?php
/*
Plugin Name: [Incusb Support] - Upfront template
Plugin URI: https://premium.wpmudev.org/
Description: Overrides default theme for single ticket. Usefull in Upfront themes where there might be an incompatibility with single-ticket.php
Author: Panos Lyrakis @ WPMUDEV
Author URI: https://premium.wpmudev.org/
License: GPLv2 or later
*/