This file contains hidden or 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 | |
/** | |
Replaces wp-members/includes/admin/tabs/class-wp-members-admin-tab-fields.php | |
Patches included: | |
* fixes bug in 3.5.0 that causes radio/multicheckbox textarea input to show on select/multiselect edit view (and vice versa) | |
* code improvement to clean whitespace from radio/multicheckbox/select/multiselect input values | |
*/ |
This file contains hidden or 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 | |
// Patch file replaces wp-members/includes/api/api-email.php in WP-Members 3.4.9.x. | |
/** | |
* WP-Members Email API Functions | |
* | |
* This file is part of the WP-Members plugin by Chad Butler | |
* You can find out more about this plugin at https://rocketgeek.com | |
* Copyright (c) 2006-2023 Chad Butler | |
* WP-Members(tm) is a trademark of butlerblog.com | |
* |
This file contains hidden or 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 | |
/** | |
* WP-Members Admin Functions | |
* | |
* Functions to manage the fields tab. | |
* | |
* This file is part of the WP-Members plugin by Chad Butler | |
* You can find out more about this plugin at https://rocketgeek.com | |
* Copyright (c) 2006-2023 Chad Butler | |
* WP-Members(tm) is a trademark of butlerblog.com |
This file contains hidden or 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 | |
/** | |
* WP-Members Email API Functions | |
* | |
* This file is part of the WP-Members plugin by Chad Butler | |
* You can find out more about this plugin at https://rocketgeek.com | |
* Copyright (c) 2006-2023 Chad Butler | |
* WP-Members(tm) is a trademark of butlerblog.com | |
* | |
* @package WP-Members |
This file contains hidden or 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 // do not include this line. | |
add_filter( 'wpmem_wc_renew_url', function( $url, $product_id, $key ) { | |
global $woocommerce; | |
$url = $woocommerce->cart->get_checkout_url(); | |
return $url; | |
}, 10, 3 ); |
This file contains hidden or 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 | |
/** | |
* WP-Members API Functions | |
* | |
* This file is part of the WP-Members plugin by Chad Butler | |
* You can find out more about this plugin at https://rocketgeek.com | |
* Copyright (c) 2006-2023 Chad Butler | |
* WP-Members(tm) is a trademark of butlerblog.com | |
* | |
* @package WP-Members |
This file contains hidden or 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 | |
// @link https://mailchimp.com/developer/marketing/api/list-segments/ | |
$segment_id = '123'; // The segment ID | |
$user_email = ''; | |
wpmem_mc_query_api_lists( | |
'post', | |
array( 'segments', $segment_id, 'members' ), | |
array( 'email_address' => $user_email ) |
This file contains hidden or 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 | |
/** | |
* The WP_Members Export Class. | |
* | |
* @package WP-Members | |
* @subpackage WP_Members Export Object Class | |
* @since 3.3.0 | |
*/ | |
// Exit if accessed directly. |
This file contains hidden or 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 | |
/** | |
* The WP_Members User Profile Class. | |
* | |
* @package WP-Members | |
* @subpackage WP_Members Admin User Profile Object Class | |
* @since 3.1.8 | |
*/ | |
// Exit if accessed directly. |
This file contains hidden or 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 | |
/** | |
* An object class for WP-Members Password Reset. | |
* | |
* @since 3.3.5 | |
* @since 3.3.8 Rebuild processing to utilize WP native functions and user_activation_key. | |
*/ | |
class WP_Members_Pwd_Reset { | |
/** |
NewerOlder