Releases: atf-custom-projects/leb-vr
Releases · atf-custom-projects/leb-vr
Release list
v2.0.0 — Host Ownership Custom Details & Conditional Fields
🚀 What's New
- Host Detail Dropdown Selection: Admins can now explicitly assign property ownership directly from the property creation/editing form:
- Admin Ownership: Default option, assigning the logged-in admin's ID as the
host_id. - Existing Host Ownership: Retains existing host ID in edit mode for non-admin hosts.
- NULL Ownership (Unregistered/Custom Host): Disables host association (
host_idset toNULL) and opens fields to capture details manually.
- Admin Ownership: Default option, assigning the logged-in admin's ID as the
- Conditional Host Contact Fields: Choosing
NULLdynamically renders two new required input fields:- Host Email (validated for correct email formatting)
- Host Mobile Number
- Dynamic Dashboard Display: If a property has no associated
host_id(NULL), the property management dashboard card displays the Host Mobile Number in place of the Host username.
🛠️ Technical Details & Refactoring
- Database Updates: Altered schema to add
host_emailandhost_mobile_numbercolumns. - AJAX Hook Integrations: Enhanced creation, update, and autosave AJAX endpoints to extract, validate, and persist the custom host credentials.
- Asset Optimization: Ensured complete synchronization of templates, JS scripts, and PHP hooks across standard and minified paths in
minify-version/.
leb-vr v1.0.0
Description
Admin data management system for vacation rental listings.
What's Inside
- 🏗️ 6 custom MySQL tables (Types, Amenities, Locations, Properties, Images, Block Dates)
- ⚡ AJAX-powered wp-admin interface
- 🏠 Full property CRUD — gallery, pricing, availability, blocked dates
- 🔄 Property duplication + bulk actions (publish/draft/delete)
- 🎨 WordPress Media Library integration for images & SVG icons
- 📊 Status workflow: Draft → Pending → Published → Rejected
Quick Start
- Upload & activate plugin
- Go to LEB → Database → Create all 6 tables
- Add Types → Amenities → Locations
- Start creating properties
Requirements
WordPress 5.0+ | PHP 7.4+ | MySQL 5.0+
Note
This is a backend-only plugin — no frontend booking UI included. Perfect for custom frontend development.
Developed by: Art-Tech Fuzion