Skip to content

Commit

Permalink
Updated settings fieldset
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdiyazdani committed Dec 15, 2019
1 parent 4b0b006 commit 63e021d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions woo-additioanl-terms.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,18 @@ public function checkbox_error() {
public static function get_settings() {

$settings = array(
'upsell_title' => array(
'name' => _x( 'Looking for help customizing this plugin?', 'upsell', 'woo-additional-terms' ),
'type' => 'title',
'desc' => sprintf( _x( '%sHire me &#8594;%s', 'upsell', 'woo-additional-terms' ), '<a href="https://www.upwork.com/o/profiles/users/_~016ad17ad3fc5cce94/" class="button-secondary" target="_blank" rel="noopener noreferrer nofollow">', '</a>' )
),
'section_end_upsell' => array(
'type' => 'sectionend'
),
'section_title' => array(
'name' => _x( 'Terms and Conditions', 'settings section name', 'woo-additional-terms' ),
'type' => 'title',
'desc' => 'This section controls the display of your additional terms and condition fieldset.',
'desc' => _x( 'This section controls the display of your additional terms and condition fieldset.', 'settings section description', 'woo-additional-terms' ),
'id' => '_woo_additional_terms_section_title'
),
'page_id' => array(
Expand Down Expand Up @@ -288,8 +296,7 @@ public static function get_settings() {
'autoload' => FALSE
),
'section_end' => array(
'type' => 'sectionend',
'id' => '_woo_additional_terms_section_end'
'type' => 'sectionend'
)
);

Expand Down

0 comments on commit 63e021d

Please sign in to comment.