Skip to content

Commit

Permalink
V1.2 bump + Readme update.
Browse files Browse the repository at this point in the history
V1.2 readme update.
  • Loading branch information
andrewlimaza committed Jun 9, 2022
1 parent ba44683 commit 5a90a92
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
10 changes: 5 additions & 5 deletions admin/class-convertkit-pmp-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function register_settings() {
/**
* Detect if the API key has changed and clear transient data if needed
*
* @since TBD
* @since 1.2.0
* @return void
*/
public function updated_options( $option, $old_value, $new_value ) {
Expand Down Expand Up @@ -548,7 +548,7 @@ public function after_all_membership_level_changes( $pmpro_old_user_levels ) {
/**
* Allow custom code to filter the subscribe tags for the user by email.
*
* @since TBD
* @since 1.2.0
*
* @param array $subscribe_tags The array of tag IDs to subscribe this email address to.
* @param string $user_email The user's email address to subscribe tags for.
Expand All @@ -560,7 +560,7 @@ public function after_all_membership_level_changes( $pmpro_old_user_levels ) {
/**
* Allow custom code to add additional fields for the subscriber.
*
* @since TBD
* @since 1.2.0
*
* @param array $subscribe_fields The array of fields to add for the subscriber.
* @param string $user_email The user's email address to subscribe tags for.
Expand All @@ -584,7 +584,7 @@ public function after_all_membership_level_changes( $pmpro_old_user_levels ) {
/**
* Allow custom code to filter the unsubscribe tags for the user by email.
*
* @since TBD
* @since 1.2.0
*
* @param array $unsubscribe_tags The array of tag IDs to unubscribe this email address from.
* @param string $user_email The user's email address to unsubscribe tags for.
Expand Down Expand Up @@ -712,7 +712,7 @@ public function after_checkout( $user_id, $order ) {
* Updates a subscriber's details upon updating a user profile in wp-admin
*
* @access public
* @since TBD
* @since 1.2.0
* @return void
*/
public function update_profile( $user_id ) {
Expand Down
2 changes: 1 addition & 1 deletion convertkit-pmp.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Plugin Name: Paid Memberships Pro - ConvertKit Integration
* Plugin URI: https://www.paidmembershipspro.com/add-ons/convertkit
* Description: Subscribe and tag your Paid Memberships Pro members in ConvertKit.
* Version: 1.1.0
* Version: 1.2.0
* Author: Paid Memberships Pro
* Author URI: https://www.paidmembershipspro.com
* License: GPL-2.0+
Expand Down
6 changes: 3 additions & 3 deletions includes/class-convertkit-pmp-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function create_purchase( $user_email, $api_secret_key, $order ) {
* @param string $user_email
* @param string $api_secret_key
*
* @since TBD
* @since 1.2.0
*
* @return bool|void
*/
Expand Down Expand Up @@ -322,7 +322,7 @@ public function get_subscriber( $user_email, $api_secret_key ) {
* @param string $user_email
* @param string $api_secret_key
*
* @since TBD
* @since 1.2.0
*
* @return string
*/
Expand Down Expand Up @@ -414,7 +414,7 @@ public function log( $message ) {
*
* @param string $path
*
* @since TBD
* @since 1.2.0
*
*/
$pmprock_log_file = apply_filters( 'pmprock_logfile', plugin_dir_path( __FILE__ ) . 'log.txt' );
Expand Down
14 changes: 11 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Paid Memberships Pro - ConvertKit Integration ===
Contributors: strangerstudios, kimannwall, nathanbarry, growdev
Tags: convertkit, email, marketing, pmpro, pmp, paid memberships pro
Requires at least: 4.0
Tested up to: 5.9
Stable tag: 1.1
Requires at least: 5.0
Tested up to: 6.0
Stable tag: 1.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -41,6 +41,14 @@ Yes, for it to work you must first have an account on ConvertKit.com
2. Example ConvertKit Subscriber with Purchase data for their initial membership checkout order.

== Changelog ==
= 1.2 - 2022-06-09 =
* FEATURE: Added tag settings for non-members. This will apply a tag when a member's membership level is removed - when a member signs up for a level it will remove these non-member tags in ConvertKit.
* ENHANCEMENT: Added filter `pmpro_convertkit_subscribe_fields` to allow passing custom fields to ConvertKit when tagging a member.
* ENHANCEMENT: Added filter `pmpro_convertkit_subscribe_tags` to allow adjusting of what tags are removed when a user is subscribed.
* ENHANCEMENT: Added filter `pmpro_convertkit_unsubscribe_tags` to allow adjusting of what tags are removed when a user is unsubscribed.
* ENHANCEMENT: Added a log file when 'CK_DEBUG' is defined. Filter the location where the log file is stored by using the `pmprock_logfile` filter.
* ENHANCEMENT: Updated UI slightly to show/hide the option "Require Opt-In Label" based on the required "Require Opt-In" checkbox field.
* REFACTOR: Refactored various methods to improve stability of storing ConvertKit meta data.

= 1.1 - 2021-06-21 =
* FEATURE: Updated opt-in settings. You can edit the label shown on the opt-in message at checkout.
Expand Down

0 comments on commit 5a90a92

Please sign in to comment.