data-metabox.php
2 months ago
subcriptions-metabox.php
1 year ago
submit-sidebar.php
3 years ago
view-customer.php
3 months ago
submit-sidebar.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | use ProfilePress\Core\Admin\SettingsPages\Membership\CustomersPage\CustomerWPListTable; |
| 4 | use ProfilePress\Core\Membership\Models\Customer\CustomerEntity; |
| 5 | |
| 6 | /** @var CustomerEntity $customer_data */ |
| 7 | ?> |
| 8 | <div class="submitbox" id="submitpost"> |
| 9 | |
| 10 | <div id="major-publishing-actions"> |
| 11 | |
| 12 | <div id="delete-action"> |
| 13 | <?php if (ppressGET_var('ppress_customer_action') == 'view') : ?> |
| 14 | <a class="submitdelete deletion pp-confirm-delete" href="<?= CustomerWPListTable::delete_customer_url($customer_data->id); ?>"> |
| 15 | <?= esc_html__('Delete', 'wp-user-avatar') ?> |
| 16 | </a> |
| 17 | <?php endif; ?> |
| 18 | </div> |
| 19 | |
| 20 | <div id="publishing-action"> |
| 21 | <input type="submit" name="ppress_save_customer" class="button button-primary button-large" value="<?= esc_html__('Save Customer', 'wp-user-avatar') ?>"> |
| 22 | </div> |
| 23 | <div class="clear"></div> |
| 24 | </div> |
| 25 | |
| 26 | </div> |