Skip to content

Commit

Permalink
Add label for subscription ID merge tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Jun 7, 2023
1 parent 9d25939 commit 22466f0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
class Admin {
/**
* Bootstrap.
*
*
* @return void
*/
public static function bootstrap() {
Expand All @@ -44,7 +44,7 @@ public static function bootstrap() {

/**
* Admin initialize.
*
*
* @return void
*/
public static function admin_init() {
Expand Down Expand Up @@ -168,6 +168,11 @@ public static function custom_merge_tags( $merge_tags ) {
];

// Subscription.
$merge_tags[] = [
'label' => __( 'Pronamic Subscription ID', 'pronamic_ideal' ),
'tag' => '{pronamic_subscription_id}',
];

$merge_tags[] = [
'label' => __( 'Pronamic Subscription Payment ID', 'pronamic_ideal' ),
'tag' => '{pronamic_subscription_payment_id}',
Expand Down

0 comments on commit 22466f0

Please sign in to comment.