Hospedajes España – HOSTPN

Description

The Hospedajes España – HOSTPN application has been created to allow the sending of the information required by Royal Decree 933/2021, of October 26, which establishes the documentary and information registration obligations of natural or legal persons who carry out lodging and motor vehicle rental activities.

Key features:

  • Accommodation, Guest, Room & Contract management — full CRUD for all property-related Custom Post Types with admin columns, meta boxes and AJAX-powered dashboard lists.
  • Part of Traveller (Parte de Viajero) — create, edit, export to XML compliant with the SES/Hospedajes format, and download CSV reports filtered by year.
  • Multi-type rental contracts — translatable contract templates for room rentals, tourist accommodations and long-stay leases with shortcode-based field resolution, inventory annexes, per-room share links, BIC/SWIFT and payment concept fields.
  • Frontend contract creation & signing — admins can create contracts directly from the management panel; guests can accept and sign contracts with optional signed PDF upload; admins can notify guests of contract changes with automatic version increment.
  • Contract attachments — upload main contract PDFs and multiple file attachments (PDF, images, documents) per contract with access-controlled storage, download and admin deletion.
  • Public contract view — shared-link contract pages with signature pad, language selector and PDF download.
  • Frontend management panel — tabbed interface on single accommodation pages for logged-in users with Contracts, Financial management, Cleaning, Inventory, Bookings, Promotions and Monthly expenses tabs; per-accommodation tab visibility controls via checkboxes in the admin; role-based access (admins see all, guests see assigned tabs); collapsible contract cards with client-side PDF generation.
  • Booking system — day-by-day availability calendar with month navigation, seasonal pricing, booking status management (pending/confirmed/cancelled/completed), guest information capture, manual admin bookings, reservation mode (request with approval or direct confirmation), and WooCommerce payment integration with automatic order creation and status sync.
  • iCal synchronization — import availability from external platforms (Booking.com, Airbnb) via iCal feeds with configurable cron-based sync frequency; export confirmed bookings as VCALENDAR via a dedicated endpoint; support for both accommodation-level and room-level feeds.
  • Monthly expenses / utility tracking — per-room consumption tracking with configurable resource types (electricity tariffs, gas, water), per-room device registration, monthly consumption records, rate-based cost calculation, global shared devices with automatic cost distribution across rooms, Chart.js consumption evolution charts, and admin-editable utility notices.
  • Cleaning task tracker — per-room cleaning checklist with area-based tasks, date tracking, notes and save/mark-all-done actions; shared periodic rotation mode with server-side rendering, comment subscriptions, edit/delete comments, queue reordering, advance reminder emails, and automatic overdue reminders sent to both guest and admin when cleaning is not completed 2 days after the scheduled date.
  • Checkout inventory inspection — generate a per-room inspection checklist from accommodation and room inventory items, mark OK/Issue per item with comments, save the inspection to the contract, and send the report by email to the landlord.
  • Create WordPress user from Guest — one-click WP user creation from any Guest record, copying all personal data and sending a welcome email; auto-links to existing users when the email already matches.
  • Room availability waitlist — visitors can subscribe to occupied rooms and receive automatic email notifications when the room becomes available.
  • Bidirectional guest-room sync — assigning a guest to a room or a room to a guest automatically keeps both records in sync, including room status updates (occupied/available).
  • Guest registration notifications — configurable email notifications on guest registration to selected users and external addresses, with resend capability from both the dashboard list and the admin post list.
  • Financial management — income/expense tracking per accommodation with admin dashboard and read-only frontend view, period-based filtering (month/quarter/year), recurring expenses with automatic generation, and payment history with overdue month detection.
  • Loyalty promotions — configurable stay-duration promotions with progress tracking, target accommodation link and featured image, reward badges, and rich-text terms & conditions; visible to both admins and assigned guests.
  • Block theme support — shortcode-based templates for single accommodation and archive pages, compatible with both classic and block themes.
  • Internationalization — all UI strings are translatable; ships with Spanish (es_ES) translations and supports runtime locale switching for contracts.

Credits

This plugin stands on the shoulders of giants

Owl Carousel v2.3.4
Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
Copyright 2013-2018 David Deutsch
https://owlcarousel2.github.io/OwlCarousel2/
https://github.com/OwlCarousel2/OwlCarousel2/blob/develop/dist/owl.carousel.js

Trumbowyg v2.27.3 – A lightweight WYSIWYG editor
alex-d.github.io/Trumbowyg/
License MIT – Author : Alexandre Demode (Alex-D)
https://github.com/Alex-D/Trumbowyg/blob/develop/src/ui/sass/trumbowyg.scss
https://github.com/Alex-D/Trumbowyg/blob/develop/src/ui/sass/trumbowyg.scss
https://github.com/Alex-D/Trumbowyg/blob/develop/src/trumbowyg.js

Blocks

This plugin provides 2 blocks.

  • HOSTPN Carousel
  • HOSTPN Booking Calendar

Installation

  1. Upload hostpn.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

How do I install the Hospedajes España – HOSTPN plugin?

To install the Hospedajes España – HOSTPN plugin, you can either upload the plugin files to the /wp-content/plugins/hostpn directory, or install the plugin through the WordPress plugins screen directly. After uploading, activate the plugin through the ‘Plugins’ screen in WordPress.

Can I customize the look and feel of my listings?

Yes, you can customize the appearance of your listings by modifying the CSS styles provided in the plugin. Additionally, you can enqueue your own custom styles to override the default plugin styles.

Where can I find the uncompressed source code for the plugin’s JavaScript and CSS files?

You can find the uncompressed source code for the JavaScript and CSS files in the src directory of the plugin. You can also visit our GitHub repository for the complete source code.

How do I add a new Custom Post Type to my site?

To add a new Custom Post Type, go to the ‘Apartment / Part of Traveller / Guest’ section in the WordPress dashboard and click on ‘Add New’. Fill in the required details for your Custom Post Type, including any custom fields provided by the plugin. Once you’re done, click ‘Publish’ to make the Custom Post Type live on your site.

Can I use this plugin with any WordPress theme?

Yes, the Hospedajes España – HOSTPN plugin is designed to be compatible with any WordPress theme. However, some themes may require additional customization to ensure the plugin’s styles integrate seamlessly.

Is the plugin translation-ready?

Yes, the Hospedajes España – HOSTPN plugin is fully translation-ready. You can use translation plugins such as Loco Translate to translate the plugin into your desired language.

How do I update the plugin?

You can update the plugin through the WordPress plugins screen just like any other plugin. When a new version is available, you will see an update notification, and you can click ‘Update Now’ to install the latest version.

How do I backup my Custom Post Types before updating the plugin?

To backup your Custom Post Types, you can export your posts and custom post types from the WordPress Tools > Export menu. Choose the ‘Host’ post type and download the export file. You can import this file later if needed.

How do I add ratings and reviews to my Custom Post Types?

The plugin don’t include a built-in ratings and reviews system yet. You can integrate third-party plugins that offer these features or customize the plugin to include them.

How do I optimize my Custom Post Types for SEO?

To optimize your Custom Post Types for SEO, ensure that you use relevant keywords in your host titles, descriptions, and content. You can also use SEO plugins like Yoast SEO to further enhance your host posts’ search engine visibility.

How do I get support for the Hospedajes España – HOSTPN plugin?

For support, you can visit the plugin’s support forum on the WordPress.org website or contact the plugin author directly through our contact information info@padresenlanube.com.

Is the plugin compatible with the latest version of WordPress?

The Hospedajes España – HOSTPN plugin is tested with the latest version of WordPress. However, it is always a good practice to check for any compatibility issues before updating WordPress or the plugin.

How do I uninstall the plugin?

To uninstall the plugin, go to the ‘Plugins’ screen in WordPress, find the Hospedajes España – HOSTPN plugin, and click ‘Deactivate’. After deactivating, you can click ‘Delete’ to remove the plugin and its files from your site. Note that this will not delete your custom post types, but you should back up your data before uninstalling any plugin.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Hospedajes España – HOSTPN” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.200

  • Add booking system with day-by-day availability calendar, month navigation, guest information capture, and booking status management (pending, confirmed, cancelled, completed)
  • Add hostpn_booking custom post type with full admin columns, meta boxes and status tracking
  • Add HOSTPN_Booking class with core booking business logic including availability checks, conflict detection and price calculation
  • Add HOSTPN_ICal class for iCal import/export with cron-based automatic synchronization from external platforms (Booking.com, Airbnb)
  • Add HOSTPN_WooCommerce class for payment integration with automatic order creation, status sync and guest notification on order completion
  • Add booking calendar shortcode [hostpn-booking-calendar] and hostpn/booking-calendar Gutenberg block with accommodation ID selector
  • Add seasonal pricing support with per-date-range price overrides and admin management UI
  • Add iCal feed endpoint via rewrite rule (hostpn-ical/{id}/calendar.ics) exporting confirmed bookings as VCALENDAR
  • Add iCal feed import and parsing with blocked dates storage and conflict checking for both accommodation-level and room-level feeds
  • Add configurable iCal sync frequency (15/30/60 minutes) via WP-Cron scheduled event
  • Add booking mode selector per accommodation: whole accommodation or per-room booking
  • Add per-room price override (hostpn_room_price_per_night) and per-room iCal feeds
  • Add booking notification emails for requests, confirmations and cancellations via HOSTPN_Notifications
  • Add manual booking creation for admins from the management panel
  • Add booking global settings: enabled toggle, reservation mode (request/direct), default check-in/checkout times, min/max nights, currency symbol and WooCommerce payment toggle
  • Add Bookings tab in the frontend management panel with booking list, status filtering, approve/reject/cancel/complete actions, seasonal prices and iCal feeds configuration
  • Add monthly expenses / utility tracking tab in the frontend management panel for per-room consumption tracking
  • Add resource type management with configurable name, unit, rate per unit, color and included-in-price toggle
  • Add default resource types for Spanish electricity tariffs (valle/llano/punta), gas and water with configurable rates
  • Add per-room device registration with name, power consumption and resource type assignment
  • Add global devices shared across all rooms with monthly cost and automatic distribution
  • Add monthly consumption records per resource type per room with manual entry and cost calculation
  • Add shared expense distribution algorithm that calculates weighted cost breakdown across occupied rooms based on device consumption
  • Add utility chart visualization with Chart.js showing monthly consumption evolution across multiple resource types over 6 months
  • Add room-specific chart data for guest view showing only their room consumption
  • Add admin-editable utility notice visible to all rooms with HTML formatting support
  • Add utility distribution history storage with per-distribution room breakdown records
  • Add per-accommodation tab visibility controls with checkbox fields for each management panel tab (Contracts, Financial, Cleaning, Inventory, Bookings, Promotions, Monthly expenses)
  • Add hostpn_is_tab_enabled() static method to check if a tab is enabled for a specific accommodation, defaulting to enabled for backward compatibility
  • Add tab visibility section in accommodation admin details metabox with descriptive labels explaining each tab purpose
  • Add save logic for tab visibility checkboxes storing ‘off’ explicitly when unchecked to distinguish disabled from never-configured
  • Add overdue cleaning reminder system that automatically sends email to both the current-turn guest and the admin when cleaning is not marked completed 2 days after the scheduled date
  • Add hostpn_send_shared_cleaning_overdue_reminder() method with red-styled HTML email indicating overdue status, room assignment and areas to clean
  • Add overdue reminder check in the daily WP-Cron shared cleaning processor with sent-flag tracking to prevent duplicate notifications
  • Add overdue reminder flag clearing when a cleaning turn is completed to allow reminders for the next cycle
  • Add expense period filtering with dropdown selector (this month, last month, last 3/6 months, this year, all) in both admin and frontend financial views
  • Add real-time expense recalculation by date range with automatic total and count updates
  • Add rent and deposit recalculation from payment history logs based on selected period
  • Add metric card dynamic updating to reflect period-specific totals for collected rent, deposits, expenses and net income
  • Add recurrence field to expense data structure supporting none, weekly, monthly, bimonthly, quarterly and yearly intervals
  • Add automatic recurring expense generation via hostpn_process_recurring_expenses() called before financial summary rendering
  • Add Promotions tab visibility for guests assigned to rooms in the accommodation (previously admin-only)
  • Add WYSIWYG rich text editing for promotion conditions using Trumbowyg with wp_kses_post sanitization
  • Add Trumbowyg cleanup and re-initialization when cloning promotion cards in admin settings to prevent broken editor instances
  • Add collapsible room inventory sections in the Inventory tab using the hostpn-toggle pattern with toggle indicator icons and fade transitions
  • Add top hero summary panel conditional display restricting it to users belonging to the accommodation (admin or assigned guest)
  • Add CSS-only loading spinners replacing Material Icons sync spinner in Financial, Cleaning, Bookings and Monthly Expenses tabs
  • Add complete light theme CSS overhaul for financial dashboard replacing dark background colors with white/light-gray palette
  • Add 1000+ lines of CSS classes for utility/monthly expenses UI components, period selector bar, admin metric cards, chart wrappers, payment tables, expense cards and toggle indicators
  • Add contract card header layout improvements with absolute positioning for collapse icon and full-width date metadata row
  • Add booking calendar CSS with day-cell grid, availability states, month navigation, guest form and responsive layout
  • Add booking calendar JS with AJAX-powered month navigation, date range selection, validation and booking submission
  • Add booking calendar PHP template with server-side calendar rendering and shortcode integration
  • Remove wp_localize_script for management tabs in PHP to prevent footer script from overwriting template inline config with limited data
  • Move management tabs configuration injection to inline script tag in template with full i18n set (150+ strings)
  • Add conditional booking calendar asset enqueuing based on hostpn_booking_enabled option with file modification time versioning
  • Add data-room-id, data-rent and data-deposit attributes to the “Add payment” button in the admin financial dashboard to fix payment creation failing with “invalid payment data” error
  • Remove hostpn-debug-chartjs.php and hostpn-debug-styles.php debug files
  • Add 21 new AJAX handlers for booking management, utility tracking, resource types, device management, consumption records and expense distribution
  • Add 150+ new i18n translatable strings for monthly expenses, period selector, booking management, resource types, device configuration and distribution calculator labels

1.0.186

  • Add BIC/SWIFT and payment concept fields to contract templates (room rental and long-stay) with corresponding shortcodes [hostpn-contract-bic-swift] and [hostpn-contract-concept]
  • Add BIC/SWIFT and payment concept meta fields to the accommodation admin form
  • Display bank fields on separate lines in contract templates instead of grouped in a single paragraph
  • Add comprehensive shortcode resolution fallback chains: contract meta falls back to room meta, then to accommodation meta, then to guest meta for all contract fields (rent, deposit, duration, notice days, payment day, tenant data, landlord data, bank data)
  • Add hostpn_create_frontend_contract() method for creating contracts directly from the management panel with auto-populated landlord, tenant, rent, deposit and bank data
  • Add hostpn_contract_create_frontend AJAX handler for frontend contract creation (admin only)
  • Add hostpn_contract_accept_sign AJAX handler for guest contract signing with optional signed PDF upload
  • Add hostpn_contract_notify_changes AJAX handler for notifying guests of contract condition updates with automatic version increment and status reset
  • Add send_contract_changes_notification() method to send contract change emails to all linked guest users in an accommodation
  • Add contract attachments system with upload, download and delete functionality for multiple file types (PDF, images, documents)
  • Add hostpn_store_contract_attachment() for storing attachments in protected contract directories
  • Add hostpn_serve_contract_attachment() for serving attachments with access checks and MIME type detection
  • Add hostpn_contract_upload_pdf AJAX handler for admin main contract PDF upload
  • Add hostpn_contract_upload_attachment AJAX handler for admin and guest contract attachment upload
  • Add hostpn_contract_download_attachment AJAX handler for attachment serving with permission verification
  • Add hostpn_contract_delete_attachment AJAX handler for admin attachment removal
  • Register all new contract attachment AJAX actions in the core plugin class
  • Add contract room-change sync: when room changes on a contract, automatically update guest, tenant data, rent and deposit from the new room’s assigned guest
  • Add room-change sync logic in both admin post_edit and AJAX post_new save paths with guest fallback lookup
  • Add bidirectional guest-room sync: assigning a guest to a room updates the room’s hostpn_room_guest_id and vice versa
  • Clear previous room/guest assignments when reassigning to prevent orphaned references
  • Add bidirectional sync in guest post_edit, AJAX post_new and AJAX post_edit save paths
  • Add bidirectional sync in room post_edit and both AJAX save paths
  • Remove duplicate hostpn_notify_room_available call in room AJAX post_edit handler
  • Add resolve_shortcodes parameter to hostpn_render_contract() to support rendering with unresolved shortcodes for contract-level resolution
  • Pass room_id to contract preview AJAX handlers so room-specific shortcodes resolve correctly
  • Add collapsible contract cards in the contracts block using the hostpn-toggle pattern (all users)
  • Add client-side PDF generation from contract preview using html2pdf with “Download PDF” button on each contract card
  • Add pagebreak mode [‘avoid-all’, ‘css’, ‘legacy’] to html2pdf config in both contracts block and public contract view for better page break handling
  • Hide contract version number from guest view (admin-only visibility)
  • Show room label to all users in contract cards (not just admins)
  • Add contract creation section in management panel for admins with room selector and create button
  • Add contract signing section for guests with accept and optional signed PDF upload
  • Add contract notification section for admins with changes summary textarea
  • Add attachments section per contract card with upload, download and delete functionality
  • Add management panel tab stacking with flex-wrap for responsive layout instead of horizontal scrolling
  • Enqueue Chart.js, financial and management tabs JS only for logged-in users instead of all visitors
  • Add conditional script enqueuing in HOSTPN_Common to avoid loading heavy scripts for anonymous users
  • Add currentUserId to management tabs JS localization data
  • Add management tabs CSS enqueue on frontend for logged-in users
  • Use file modification time for Chart.js version string instead of hardcoded version
  • Add shared cleaning server-side rendering via hostpn_render_shared_cleaning_content() method
  • Return pre-rendered HTML from hostpn_shared_cleaning_load and hostpn_shared_cleaning_reorder_queue AJAX handlers
  • Add hostpn_shared_cleaning_delete_comment AJAX handler (admin only)
  • Add hostpn_shared_cleaning_edit_comment AJAX handler (admin only)
  • Add hostpn_shared_cleaning_subscribe_comments AJAX handler for comment notification subscriptions
  • Add output buffering cleanup in shared cleaning comment and reminder AJAX handlers
  • Replace echo/exit pattern with wp_send_json in all shared cleaning AJAX handlers for consistency
  • Add hostpn-accommodation-single and hostpn-accommodation-archive shortcodes for block theme support
  • Register shortcodes in the core plugin class for block theme template compatibility
  • Add block theme template files for single and archive accommodation pages using shortcodes
  • Simplify classic template files to include content partials
  • Add loyalty promotions target accommodation dropdown selector in admin settings with link to accommodation details
  • Add target accommodation featured image thumbnail display in promotion cards on the frontend
  • Add accommodation detail link in promotion target name on the frontend
  • Add CSS styles for promotion thumbnail, target link hover states
  • Override theme link colors inside the contracts block to prevent theme CSS from overriding plugin styles
  • Add responsive room card stacking on mobile with flex-direction column instead of horizontal overflow
  • Add max-width constraint on email field in room notification form for mobile stacking
  • Add room card header flex-wrap for responsive layout
  • Move inline styles from payment status indicators to dedicated CSS classes in management tabs stylesheet
  • Add extensive CSS classes for financial dashboard components, shared cleaning UI, promotions display and management panel layout
  • Remove “Automated message from accommodation management platform” footer text from contract changes notification emails
  • Expand i18n strings in contracts block JS localization for contract creation, signing, notification, attachment and PDF generation actions
  • Update Spanish translation files (.po, .mo, .l10n.php) and translation template (.pot) with all new translatable strings

1.0.145

  • Replace payment status badge indicators (paid/partial/pending) with icon-only display positioned inline next to amounts in financial management table
  • Display status icons (check_circle, timelapse, error_outline) at 18px size directly adjacent to deposit and rent payment amounts using flexbox layout
  • Add payment date display in tooltips showing actual payment date for completed payments
  • Add last payment date display in tooltips for partial payments
  • Add pending amount calculation and display in tooltips for both partial and pending payments
  • Add overdue months detection logic that checks all months since contract start date against payment history
  • Display overdue months list in rent payment tooltips with month identifier and pending amount per month
  • Remove “usual payment day” reference from all payment status tooltips
  • Extract deposit payment dates from payment history by filtering payment_type === ‘deposit’
  • Extract rent payment dates from payment history by filtering payment_type === ‘rent’ and matching month_key
  • Use max() function to find most recent payment date from filtered payment history
  • Iterate through all months from contract start date to current month checking for unpaid or partially paid rent
  • Replace echo-based HTML output with output buffering (ob_start/ob_get_clean) for cleaner code structure
  • Move all inline styles from payment status indicators to dedicated CSS classes in hostpn-management-tabs.css
  • Add CSS classes for financial status cells, wrappers, amounts and icon states (paid/partial/pending)
  • Update notification email templates from English to Spanish for shared cleaning reminders

1.0.130

  • Add frontend management panel with tabbed interface (Contracts, Financial management, Cleaning, Inventory) for logged-in admins and guests on single accommodation pages
  • Add cleaning task tracker per room with checklist areas (Bedroom, Bathroom, Kitchen, Common areas, Other), date tracking, notes and save/mark-all-done functionality via AJAX
  • Add checkout inventory inspection checklist that loads all inventory items (accommodation + room level) merged by category, with OK/Issue status and per-item comments
  • Add save inspection and send-inspection-by-email actions for checkout inventory checklist, storing data in contract or room meta
  • Add send_inventory_inspection_email() method in HOSTPN_Notifications that builds an HTML table with item statuses and sends it to the landlord email
  • Add frontend financial dashboard loading via AJAX within the management tabs panel (read-only view of the admin financial dashboard)
  • Move the standalone contracts block from the bottom of the single accommodation template into the Contracts tab of the new management panel
  • Add “Create user” button in the Guest CPT meta box that creates a WordPress user from the guest’s data, copies all guest meta to the user, links guest to user, and sends a welcome email via wp_new_user_notification()
  • Add “Create user” / “View user” menu item in the guest list dropdown on the plugin dashboard, showing “View user” with a link to the user profile when a WP user is already linked
  • Add hostpn_guest_create_user AJAX handler that verifies nonce and permissions, validates guest email, checks for existing linked user, and either creates a new subscriber user or links to an existing WP user with matching email
  • Register wp_ajax_hostpn_guest_create_user action in the core plugin class
  • Add JS click handler for .hostpn-guest-create-user supporting both meta box buttons and dropdown links with loading state and dynamic UI update on success
  • Add i18n strings for guest user creation: creating_user, user_created, user_linked, user_already_exists, create_user, view_user
  • Add AJAX cases hostpn_cleaning_load, hostpn_cleaning_save, hostpn_inventory_checklist_load, hostpn_inventory_inspection_save, hostpn_inventory_inspection_email, and hostpn_financial_frontend_load in the AJAX server
  • Change hostpn_collect_inventory_items() visibility from private to public in HOSTPN_Contract_Templates to allow access from the management tabs inventory checklist
  • Remove all debug console.log and console.error statements from hostpn-rooms-block.js
  • Add management tabs CSS (hostpn-management-tabs.css) with styles for tab buttons, cleaning areas grid, inventory checklist, room selectors, action buttons, success/error messages, and responsive layout
  • Add management tabs JS (hostpn-management-tabs.js) with tab switching, cleaning CRUD, inventory inspection checklist generation, and financial dashboard AJAX loading
  • Add management tabs PHP template (hostpn-management-tabs.php) with role-based tab visibility: admins see all tabs, guests see only Contracts and Inventory (if assigned to a room)
  • Update Spanish translation files (.po, .mo, .l10n.php) and translation template (.pot) with all new translatable strings

1.0.2

Remove README.md file and update README.txt to reflect version 1.0.2.
Enhance address field maxlength for guest and user input forms from 20 to 40 characters for better data handling.
Improve AJAX handling and nonce verification for enhanced security and consistency across the codebase.
Restore .gitignore file
Add accommodation, guest, and part search functionality with unified JavaScript handling. Enhance CSS for search input styling and transitions. Update PHP files to include search components in post type templates.
Update version to 1.0.2, enhance AJAX response handling in JavaScript for improved error management and HTML content processing. Refactor form input structure in PHP for better consistency and readability, including the addition of a new input display wrapper method.
Remove hostpn.zip file and update AJAX handling in JavaScript and PHP files for improved nonce usage and sanitization. Refactor form input structure for accommodations, guests, and parts, ensuring consistency and enhanced security across the codebase.
Revert version number to 1.0.0 in hostpn.php and class-hostpn.php. Update AJAX handling in class-hostpn-ajax and class-hostpn-ajax-nopriv to sanitize input keys for improved security and consistency.
Refactor README.txt for clarity on listing customization and update terminology from ‘host’ to ‘Custom Post Type’. Enhance nonce verification in AJAX handling across multiple classes to improve security. Update JavaScript and PHP files for consistency in nonce usage and improve code readability.
Update README.txt to reflect plugin requirements and terminology changes, including version requirement update to 3.5, and replace references from ‘recipe’ to ‘host’ throughout the document for consistency.
Update version to 1.0.2, enhance form input structure with improved readability, and enforce maxlength attribute for address fields. Refactor script registration methods for accommodations, guests, and parts to ensure proper loading and printing of scripts.
Rename plugin from ‘Hospedajes España – WPH’ to ‘Hospedajes España – HOSTPN’, update related references, and remove unused assets. Adjust initialization to use ‘init’ hook. Update language files and ensure consistency in function naming across the codebase.
Refactor user references from ‘wph’ to ‘pn’ across JavaScript and PHP files, updating class names, selectors, and function names for consistency. Adjusted form handling and popup integration.
Update guest and part post types to order by post date in descending order; modify popup template comments for clarity.
WPH to PN

1.0.0

Hello hostings world!