20
20
*/
21
21
function clwc_add_loyalty_points_submenu () {
22
22
add_submenu_page (
23
- 'woocommerce ' , // Parent slug to add the menu under WooCommerce®.
24
- esc_html__ ( 'Customer Loyalty Settings ' , 'customer-loyalty-for-woocommerce ' ),
25
- esc_html__ ( 'Loyalty Points ' , 'customer-loyalty-for-woocommerce ' ),
23
+ 'woocommerce ' ,
24
+ esc_html__ ( 'Customer Loyalty & Rewards Settings ' , 'customer-loyalty-for-woocommerce ' ),
25
+ esc_html__ ( 'Loyalty & Rewards ' , 'customer-loyalty-for-woocommerce ' ),
26
26
'manage_options ' ,
27
27
'clwc-customer-loyalty ' ,
28
28
'clwc_render_loyalty_points_page '
@@ -35,10 +35,10 @@ function clwc_render_loyalty_points_page() {
35
35
?>
36
36
<div class="wrap">
37
37
<h1 style="display: block; align-items: center;">
38
- <?php esc_html_e ( 'Customer Loyalty Settings ' , 'customer-loyalty-for-woocommerce ' ); ?>
38
+ <?php esc_html_e ( 'Customer Loyalty & Rewards Settings ' , 'customer-loyalty-for-woocommerce ' ); ?>
39
39
<span style="font-size: small; margin-left: 10px; display: inline-block; vertical-align: middle;">
40
40
<?php if ( defined ( 'CUSTOMER_LOYALTY_VERSION ' ) ) : ?>
41
- v<?php echo esc_html ( CUSTOMER_LOYALTY_VERSION ); ?> ·
41
+ v<?php echo esc_html ( CUSTOMER_LOYALTY_VERSION ); ?>
42
42
<?php endif ; ?>
43
43
</span>
44
44
<span style="font-size: small; margin-left: 10px; display: inline-block; vertical-align: middle; float:right;">
@@ -51,7 +51,7 @@ function clwc_render_loyalty_points_page() {
51
51
</span>
52
52
</h1>
53
53
54
- <h2 class="nav-tab-wrapper" style="margin-top :18px;">
54
+ <h2 class="nav-tab-wrapper" style="margin:18px 0 ;">
55
55
<a href="?page=clwc-customer-loyalty&tab=rewards_card" class="nav-tab <?php echo $ active_tab === 'rewards_card ' ? 'nav-tab-active ' : '' ; ?> ">
56
56
<?php esc_html_e ( 'Rewards Card ' , 'customer-loyalty-for-woocommerce ' ); ?>
57
57
</a>
0 commit comments