diff --git a/inc/api/class-opalestate-base-api.php b/inc/api/class-opalestate-base-api.php index d52f9aef..e37843a6 100644 --- a/inc/api/class-opalestate-base-api.php +++ b/inc/api/class-opalestate-base-api.php @@ -195,7 +195,7 @@ abstract class Opalestate_Base_API { $endpoint = explode( '/', $route ); $endpoint = end( $endpoint ); - if ( in_array( $endpoint, [ 'properties', 'agencies', 'agents', 'search-form' ] ) ) { + if ( in_array( $endpoint, [ 'properties', 'agencies', 'agents', 'search-form', 'search' ] ) ) { return true; } diff --git a/inc/user/functions.php b/inc/user/functions.php index 9a509d4c..f91c1ca4 100755 --- a/inc/user/functions.php +++ b/inc/user/functions.php @@ -218,7 +218,7 @@ function opalestate_management_user_menu_tabs() { $link = $uri . '?tab=' . $item['link']; } - $output .= '