Plugin Directory

Changeset 3434102


Ignore:
Timestamp:
01/07/2026 06:42:14 AM (7 weeks ago)
Author:
crazeco
Message:

finalize code

Location:
admin-alert-email-for-pmpro-membership-expiry/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin-alert-email-for-pmpro-membership-expiry/trunk/admin-email-for-pmpro-membership-expiry.php

    r3433417 r3434102  
    33 * Plugin Name: Admin Email for PMPro Membership Expiry
    44 * Description: Sends an email to the WordPress admin when a Paid Memberships Pro membership expires.
    5  * Version: 1.0.0
     5 * Version: 1.0.5
    66 * Author: Craze Collective
    77 * Author URI: https://crazeco.com.au
    88 * License: GPLv2 or later
    99 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    10  * Text Domain: admin-email-for-pmpro-membership-expiry
     10 * Text Domain: admin-alert-email-for-pmpro-membership-expiry
    1111 */
    1212
     
    4444
    4545    $message = sprintf(
    46 "⏰ Admin Email for PMPro Membership Expiry automatically notifies the site administrator\n\n".
    47 "🔒 The plugin uses official PMPro hooks and does not modify any core or add-on files, making it fully update-safe\n\n".
    48 "📬 Instant notification to admin on membership expiry\n".
    49 "✅ Works with all PMPro membership levels\n".
    50 "🔄 Fully update-safe; no core edits required\n".
    51 "🪝 Uses WordPress core APIs and PMPro hooks only\n".
    52 "✉️ Plain-text email notifications by default\n".
    53 "🛠️ Optional customization via filters if needed\n"
     46        "A membership has expired.\n\n".
     47        "Name: %s\n".
     48        "Email: %s\n".
     49        "Membership Level: %s\n".
     50        "User ID: %d\n".
     51        "Date: %s",
     52        $user->display_name,
     53        $user->user_email,
     54        $level ? $level->name : 'Unknown',
     55        $user_id,
     56        current_time( 'mysql' )
    5457    );
    5558
  • admin-alert-email-for-pmpro-membership-expiry/trunk/readme.txt

    r3433424 r3434102  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.5
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1010
     11=== Description ===
    1112
    1213Sends an email to the WordPress admin when a Paid Memberships Pro membership expires.
     
    2526
    2627Features:
    27 📬 Instant notification to admin on membership expiry
    28 ✅ Works with all PMPro membership levels
    29 🔄 Fully update-safe; no core edits required
    30 🪝 Uses WordPress core APIs and PMPro hooks only
    31 ✉️ Plain-text email notifications by default
    32 🛠️ Optional customization via filters if needed
     28* 📬 Notification to admin on membership expiry
     29* ✅ Works with all PMPro membership levels
     30* 🔄 Fully update-safe; no core edits required
     31* 🪝 Uses WordPress core APIs and PMPro hooks only
     32* ✉️ Plain-text email notifications by default
     33* 🛠️ Optional customization via filters if needed
    3334
    3435=== Assets ===
    35 banner-772x250.jpg
    36 icon-256x256.jpg
    37 screenshot-1.jpg
     36
     37/assets/banner-772x250.jpg
     38/assets/icon-256x256.jpg
     39/assets/screenshot-1.jpg
     40
     41=== Changelog ===
     42
     43= 1.0.5 =
     44* Fix plugin description and finalize code
     45
     46= 1.0.0 =
     47* Initial release
Note: See TracChangeset for help on using the changeset viewer.