Fixes
This commit is contained in:
@@ -660,6 +660,7 @@ function opalestate_get_currencies() {
|
||||
'CHF' => esc_html__( 'Swiss franc', 'opalestate-pro' ),
|
||||
'CLP' => esc_html__( 'Chilean peso', 'opalestate-pro' ),
|
||||
'CNY' => esc_html__( 'Chinese yuan', 'opalestate-pro' ),
|
||||
'UF' => esc_html__( 'Chilean Foment Unity', 'opalestate-pro' ),
|
||||
'COP' => esc_html__( 'Colombian peso', 'opalestate-pro' ),
|
||||
'CRC' => esc_html__( 'Costa Rican colón', 'opalestate-pro' ),
|
||||
'CUC' => esc_html__( 'Cuban convertible peso', 'opalestate-pro' ),
|
||||
@@ -884,6 +885,7 @@ function opalestate_currency_symbol( $currency = '' ) {
|
||||
'CHF' => 'CHF',
|
||||
'CLP' => '$',
|
||||
'CNY' => '¥',
|
||||
'UF' => 'UF',
|
||||
'COP' => '$',
|
||||
'CRC' => '₡',
|
||||
'CUC' => '$',
|
||||
|
||||
@@ -177,6 +177,10 @@ class OpalEstate_User {
|
||||
if ( in_array( 'opalestate_agent', $roles ) || in_array( 'opalestate_agency', $roles ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( in_array( 'subscriber', $roles ) && opalestate_is_user_management_page() ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return $show_admin_bar;
|
||||
|
||||
Reference in New Issue
Block a user