diff --git a/inc/api/class-opalestate-base-api.php b/inc/api/class-opalestate-base-api.php index f83e5488..d52f9aef 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' ] ) ) { + if ( in_array( $endpoint, [ 'properties', 'agencies', 'agents', 'search-form' ] ) ) { return true; }