Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
manutheblacker authored Nov 22, 2022
2 parents b04038c + 1658001 commit a5ffbba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Empty file modified README.txt
100755 → 100644
Empty file.
Empty file modified abstract/constants.php
100755 → 100644
Empty file.
10 changes: 9 additions & 1 deletion admin/class-woo-usn-admin-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public static function display_options_on_each_tab()
'woo_usn_sms_consent',
// ID used to identify the field throughout the theme.
__( 'Get customer approbation before sending him SMS : ', 'ultimate-sms-notifications' ),
__CLASS__ . '::display_consent_sms__premium_only',
__CLASS__ . '::display_consent_sms',
// The name of the function responsible for rendering the option interface.
'woo_usn_options',
// The page on which this option will be displayed.
Expand Down Expand Up @@ -510,6 +510,14 @@ public static function messages_to_vendor()
echo "<br/>" ;
Woo_Usn_UI_Fields::format_html_fields( wp_sprintf( "<a href='%s'>%s</a>", admin_url( "admin.php?page=ultimate-sms-notifications-pricing" ), __( 'Click here to upgrade', 'ultimate-sms-notifications' ) ) );
}

public static function display_consent_sms() {
$message = __('By enabling, customers can decide if they want to receive mobile notifications.', 'ultimate-sms-notifications' );
$message .= "<br/>" . wp_sprintf("<a href='%s'>%s</a>", admin_url("admin.php?page=ultimate-sms-notifications-pricing"), __('Click here to upgrade', 'ultimate-sms-notifications' ) );

Woo_Usn_UI_Fields::format_html_fields( $message );

}

/**
* Display admin template messages fields.
Expand Down
Empty file modified woo-usn.php
100755 → 100644
Empty file.

0 comments on commit a5ffbba

Please sign in to comment.