Havenlytics provides a robust set of filter hooks that let developers modify plugin output or behavior at specific points safely. Filters allow customization of property listings, templates, search results, and other content dynamically.
Global Filters
Filter Hook
Description
Usage & Benefits
hvnly_layout_grid_classes
Filters the CSS classes applied to the layout grid.
Add custom classes or modify layout styles dynamically.
hvnly_main_content_classes
Filters classes for the main content area.
Customize spacing, width, or layout of property content area.
hvnly_sidebar_classes
Filters CSS classes for sidebar wrapper.
Adjust sidebar width, add responsive behavior, or styling classes.
hvnly_should_display_sidebar
Control whether the sidebar is shown.
Hide or show sidebar based on property type, page, or user role.
Single Property Filters
Filter Hook
Description
Usage & Benefits
hvnly_single_property_elements
Filter the main elements structure on a single property page.
Reorder sections, remove or inject custom elements safely.
hvnly_single_property_layout_grid
Filter grid container for single property layout.
Customize layout dynamically, change grid spacing or responsive behavior.
hvnly_single_property_main_content
Filter the main content area of a property page.
Insert custom cards, widgets, or additional property info.
hvnly_single_property_sidebar
Filter sidebar content area on single property pages.
Add custom widgets, ads, or dynamic content.
Search Filters
Filter Hook
Description
Usage & Benefits
hvnly_search_loop_classes
Filters CSS classes applied to the search results container.
Modify search layout, grids, or list appearance dynamically.
hvnly_search_query_args
Filter the WP_Query arguments for search listings.
Control which properties are displayed, custom order, or filters.
hvnly_main_property_image_size
Filter the default property image size.
Change image dimensions for faster load times or high-resolution display.
Benefits: Safe, dynamic, and update-proof customization of layouts, content, and plugin behavior. Filters allow developers to modify output without touching core plugin files.