This commit is contained in:
Alpha
2020-07-21 08:36:32 +07:00
parent a5a053b025
commit 920a1cbe1a
9 changed files with 73 additions and 4 deletions

View File

@@ -573,6 +573,18 @@ class Opalestate_Settings_Property_Tab extends Opalestate_Settings_Base_Tab {
'after_row' => '<hr>',
];
$fields[] = [
'name' => esc_html__( 'Login to show Price', 'opalestate-pro' ),
'desc' => esc_html__( 'Require users login to show Price', 'opalestate-pro' ),
'id' => 'enable_single_login_to_show_price',
'type' => 'switch',
'options' => [
'on' => esc_html__( 'Enable', 'opalestate-pro' ),
'off' => esc_html__( 'Disable', 'opalestate-pro' ),
],
'after_row' => '<hr>',
];
$fields[] = [
'name' => esc_html__( 'Show Author box', 'opalestate-pro' ),
'desc' => esc_html__( 'Show Author box in the single property page.', 'opalestate-pro' ),
@@ -605,6 +617,17 @@ class Opalestate_Settings_Property_Tab extends Opalestate_Settings_Base_Tab {
'on' => esc_html__( 'Enable', 'opalestate-pro' ),
'off' => esc_html__( 'Disable', 'opalestate-pro' ),
],
];
$fields[] = [
'name' => esc_html__( 'Login to show Enquire form', 'opalestate-pro' ),
'desc' => esc_html__( 'Require users login to show Enquire form', 'opalestate-pro' ),
'id' => 'enable_single_login_to_enquire_form',
'type' => 'switch',
'options' => [
'on' => esc_html__( 'Enable', 'opalestate-pro' ),
'off' => esc_html__( 'Disable', 'opalestate-pro' ),
],
'after_row' => '<hr>',
];