@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | // @link https://github.com/wp-premium/memberpress-business/blob/1.3.36/app/controllers/MeprSubscriptionsCtrl.php#L19-L26 |
| 35 | 35 | $hook = 'memberpress_page_memberpress-subscriptions'; |
| 36 | 36 | |
| 37 | - add_filter( 'manage_' .$hook . '_columns', array( $this, 'manage_subscriptions_columns' ), 10 ); |
|
| 37 | + add_filter( 'manage_' . $hook . '_columns', array( $this, 'manage_subscriptions_columns' ), 10 ); |
|
| 38 | 38 | |
| 39 | 39 | add_action( 'mepr-admin-subscriptions-cell', array( $this, 'admin_subscriptions_cell' ), 10, 4 ); |
| 40 | 40 | |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | |
| 104 | 104 | $memberpress_subscription_id = get_post_meta( get_the_ID(), '_pronamic_subscription_source_id', true ); |
| 105 | 105 | |
| 106 | - $this->subscriptions_map[ $memberpress_subscription_id ] = get_post(); |
|
| 106 | + $this->subscriptions_map[$memberpress_subscription_id] = get_post(); |
|
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | wp_reset_postdata(); |
@@ -139,8 +139,8 @@ discard block |
||
| 139 | 139 | |
| 140 | 140 | $memberpress_subscription_id = $rec->id; |
| 141 | 141 | |
| 142 | - if ( isset( $map[ $memberpress_subscription_id ] ) ) { |
|
| 143 | - $pronamic_subscription_post = $map[ $memberpress_subscription_id ]; |
|
| 142 | + if ( isset( $map[$memberpress_subscription_id] ) ) { |
|
| 143 | + $pronamic_subscription_post = $map[$memberpress_subscription_id]; |
|
| 144 | 144 | |
| 145 | 145 | printf( |
| 146 | 146 | '<a href="%s">%s</a>', |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | // @link https://github.com/wp-premium/memberpress-business/blob/1.3.36/app/controllers/MeprTransactionsCtrl.php |
| 28 | 28 | $hook = 'memberpress_page_memberpress-trans'; |
| 29 | 29 | |
| 30 | - add_filter( 'manage_' .$hook . '_columns', array( $this, 'manage_transactions_columns' ), 10 ); |
|
| 30 | + add_filter( 'manage_' . $hook . '_columns', array( $this, 'manage_transactions_columns' ), 10 ); |
|
| 31 | 31 | |
| 32 | 32 | add_filter( 'mepr_view_get_string', array( $this, 'extend_transaction_row' ), 10, 3 ); |
| 33 | 33 | add_filter( 'mepr_view_get_string', array( $this, 'extend_transaction_form' ), 10, 3 ); |