Advanced / Developers
This page gathers the technical details. You do not need them to set up your store: the guides describe everything from the admin.
Required permissions
Section titled “Required permissions”All screens of both plugins require the WordPress manage_woocommerce capability. Administrators and WooCommerce shop managers have it by default.
Translation customization (JSON)
Section titled “Translation customization (JSON)”The Room Planner translation customization field expects a JSON object per language, then per key:
{"ar":{"check_plan":"…","request_price":"…"}}- The accepted keys are those of the
messagessection of the plugin’s French catalog,languages/planner/fr.json, plusstore_name. - The
{…}parameters must be identical to the French ones. - Each text is at most 1,500 characters;
store_nameis at most 80 characters. - A value that does not follow these rules is ignored without a message.
WhatsApp token in wp-config.php
Section titled “WhatsApp token in wp-config.php”The Meta access token can be defined in wp-config.php:
define( 'FURNIC_PRO_WHATSAPP_TOKEN', 'EAA…' );A non-empty constant takes priority over the token saved in the admin. It is never displayed.
Sending notifications
Section titled “Sending notifications”- E-mails are sent with the WordPress
wp_mailfunction. If it fails, Last sendings shows “wp_mail returned false”. - Notifications are sent right after the response to the customer when the server can release that response (PHP-FPM or LiteSpeed). A backup WP-Cron task is always scheduled 30 seconds later: without PHP-FPM or LiteSpeed, it does the sending, and when it runs depends on how WP-Cron is triggered on your site. Each notification is sent only once per channel.
Internal delays
Section titled “Internal delays”| Delay | Where |
|---|---|
| 2 minutes | Automatic redirect to Get started after Room Planner is activated. |
| 10 minutes | How long the Correct the names report stays displayed, and how long a rejected entry is kept in Options and surcharges. |
| 20 seconds | Simulator loading time before the message “The simulator is taking too long to load.” |
| 30 seconds | Backup WP-Cron task for notifications. |
Hooks and filters
Section titled “Hooks and filters”Room Planner exposes filters and actions prefixed with furnic_planner_, for example furnic_planner_messages, furnic_planner_store_name, furnic_planner_product_data and furnic_planner_template_applied. FurniConcierge Pro exposes furnic_pro_whatsapp_graph_version. See the plugins’ code for their parameters.