RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://localhost:8000/wp-admin/admin.php\?page\=wbk-appointments.* [NC]
RewriteRule .* - [F]