To hide the WhatsApp icon/button when offline (non-business hours), check this option. This feature is available in the PRO version.
Navigate to ‘Click to Chat’ —> ‘Business hours – Offline/Online’

Example: Let us make the WhatsApp icon/button available only for business hours (8 A.M. to 6 p.m.).
Step 1: Navigate to Click to Chat—> Business Hours – Offline/Online and set the business hours.

Note: Time will be based on website Time zone ( WordPress admin → settings → General )
Step 2: Select “Hide when Offline” and save changes.
From now onwards, the WhatsApp icon appears only during the selected business hours, i.e., 8 AM to 6 PM, and WhatsApp doesn’t appear for offline (non-business) hours.
Instead of hiding the WhatsApp icon/button, we can change the call to action and WhatsApp number when offline (non-business hours).