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: PMPro Add-on Page/Post user list | |
Plugin URI: https://eighty20results.com/paid-memberships-pro/do-it-for-me/ | |
Description: List all user(s) who've bought a specific Add-on Post/Page | |
Version: 1.1 | |
Author: Eighty / 20 Results by Wicked Strong Chicks, LLC <thomas@eighty20results.com> | |
Author URI: https://eighty20results.com/thomas-sjolshagen/ | |
License: |
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: PMPro Custom Tax | |
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-customizations/ | |
Description: Customizations for PMPro | |
Version: .1 | |
Author: Stranger Studios | |
Author URI: http://www.strangerstudios.com | |
*/ | |
/* |
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
INSERT INTO PREFIX_postmeta (`post_id`, `meta_key`, `meta_value`) | |
SELECT `ID`, '_pmproap_price`, '<your price without a currency sign, i.e. 3.99>' | |
FROM PREFIX_posts | |
WHERE ID IN ( <comma>, <separated>, <list>, <of>, <addon>, <package>, <post>, <ids> ); |
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 | |
global $wpdb; | |
$records = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->pmpro_membership_orders} WHERE user_id = %d AND status = %s", $user_id, 'success' ) ); | |
if ( $records == 1 ) { | |
// No previous order found | |
} else { | |
// Found old orders so member is not new | |
} |
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: PMPro e-mail domain check | |
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-customizations/ | |
Description: Check if a domain is on the "do not allow" list for registration | |
Version: .1 | |
Author: Stranger Studios | |
Author URI: http://www.strangerstudios.com | |
*/ |
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: PMPro: Custom Registration/WordPress Profile Fields | |
Description: Custom fields, using the PMPro Register Helper add-on | |
Plugin URI: https://eighty20results.com/paid-memberships-pro/do-it-for-me/ | |
Author: Thomas Sjolshagen @ Paid Memberships Pro <thomas@eighty20results.com> | |
Author URI: https://eighty20results.com/thomas-sjolshagen/ | |
Version: 1.0 | |
License: GPL2 | |
Text Domain: sn-customizations |
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: PMPro Customizations: Required Field Changes | |
Plugin URI: https://eighty20results.com/paid-memberships-pro/do-it-for-me/ | |
Description: Customizations to disable required fields for some of the Address/Addon. | |
Version: 1.0 | |
Author: Eighty / 20 Results by Wicked Strong Chicks, LLC <thomas@eighty20results.com> | |
Author URI: https://eighty20results.com/thomas-sjolshagen/ | |
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
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: Paid Memberships Pro - Custom Advanced Settings Messages | |
* Plugin URI: https://eighty20results.com/paid-memberships-pro/do-it-for-me/ | |
* Description: Per membership level message for the membership/login required | |
* Version: 1.0 | |
* Author: Paid Memberships Pro / Thomas Sjolshagen <thomas@eighty20results.com> | |
* Author URI: https://eighty20results.com/thomas-sjolshagen/ | |
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
* 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: PMPro Customizations: Membership proration | |
Plugin URI: https://eighty20results.com/paid-memberships-pro/do-it-for-me/ | |
Description: Prorate price for Level ID 5 memberships based on month of the year when the user signs up | |
Version: 1.0 | |
Author: Eighty / 20 Results by Wicked Strong Chicks, LLC <thomas@eighty20results.com> | |
Author URI: https://eighty20results.com/thomas-sjolshagen/ | |
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
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: PMPro Customizations: Register Helper Fields | |
Plugin URI: https://eighty20results.com/paid-memberships-pro/do-it-for-me/ | |
Description: Customizations - Register Helper Fields | |
Version: 1.0 | |
Author: Eighty / 20 Results by Wicked Strong Chicks, LLC <thomas@eighty20results.com> | |
Author URI: https://eighty20results.com/thomas-sjolshagen/ | |
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
License: GPLv2 or later |