This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Recent Global Events | |
* Plugin URI: http://premium.wpmudev.org | |
* Description: Recent Global Evens function and shortcode. Requires "Post Indexer" and Events+ plugins. Provides shortcode: `[global_recent_events]` allong with several atts | |
* Author: Panos Lyrakis @ WPMUDEV | |
* Author URI: http://premium.wpmudev.org | |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [Membership 2] - Custom registration fields | |
* Plugin URI: https://premium.wpmudev.org/ | |
* Description: Add custome fileds in Membership registration form | |
* Author: Panos Lyrakis @ WPMUDEV | |
* Author URI: https://premium.wpmudev.org/ | |
* License: GPLv2 or later | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [WordPress General] - Modify specific post titles | |
* Plugin URI: https://premium.wpmudev.org/ | |
* Description: Modify specific posts title. Title gets also changed in site meta tags. | |
* Author: Panos Lyrakis @ WPMUDEV | |
* Author URI: https://premium.wpmudev.org/ | |
* License: GPLv2 or later | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [MarketPress] - Admin Products List | |
* Plugin URI: https://premium.wpmudev.org/ | |
* Description: Adds a select option "No category" in admin products table. This should display all products that have no product category set. | |
* Author: Panos Lyrakis @ WPMUDEV | |
* Author URI: https://premium.wpmudev.org/ | |
* License: GPLv2 or later | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [Pro Sites] - Additional options on Sites Table | |
* Plugin URI: https://premium.wpmudev.org/ | |
* Description: Adds more options on the Sites table | |
* Author: Panos Lyrakis @ WPMUDEV | |
* Author URI: https://premium.wpmudev.org/ | |
* License: GPLv2 or later | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: MS2 Assign Memberships | |
Plugin URI: https://premium.wpmudev.org/project/membership/ | |
Description: Gets a list of wordpress users and assign them to a membership or list of memberships | |
Author: Mahlamusa @ WPMU DEV | |
Version: 1.0.0 | |
Author URI: https://premium.wpmudev.org/profile/mahlamusa | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Post Type Quota | |
Plugin URI: https://premium.wpmudev.org/ | |
Description: Post type publishing quotas for Pro Sites | |
Author: Ashok & Lindeni @ WPMUDEV | |
Author URI: https://premium.wpmudev.org/ | |
License: GPLv2 or later | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [Incsub Support] - Custom redirect | |
* Plugin URI: https://premium.wpmudev.org/ | |
* Description: Redirects to custom thank you page after ticket submit. | |
* Author: Panos Lyrakis @ WPMUDEV | |
* Author URI: https://premium.wpmudev.org/ | |
* License: GPLv2 or later | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function wpmu_coursepress_get_certificate_by_date( $obj ) { | |
if ( !empty( $_GET['action'] ) && 'coursepress_assessments' === $_GET['action'] ) { | |
if ( !empty( $obj->query_vars['search_columns'] ) && array( 'user_login', 'user_nicename', 'user_email' ) === $obj->query_vars['search_columns'] | |
&& ( $date = strtotime( str_replace( '*', '', $obj->query_vars['search'] ) ) ) ) { | |
preg_match( '/\d+$/', $obj->query_vars['meta_key'], $matches ); | |
$id_course = !empty( $matches[0] ) ? (int)$matches[0] : ''; | |
if ( $id_course ) { | |
global $wpdb; | |
$date = date( 'Y-m-d', $date ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function wpmu_marketpress_remove_fields_checkout( $address_fields, $type ) { | |
$cart = MP_Cart::get_instance(); | |
$total = $cart->total( false ); | |
if ( $total == 0 ) { | |
$allowed = array( | |
'billing[first_name]', | |
'billing[last_name]', | |
'billing[email]', | |
'billing[zip]', |