# AI Receptionist WordPress connector

This folder is the standalone WordPress plugin. It does not contain or replace the hosted AI Receptionist service.

## Local test

Copy `aireceptionist-so` into a WordPress site's `wp-content/plugins` folder, activate it, then open **Settings > AI Receptionist**.

Run a syntax check from this folder:

```powershell
Get-ChildItem -Recurse -Filter *.php | ForEach-Object { php -l $_.FullName }
```

If the official WordPress Plugin Check plugin is installed in the test site, run:

```powershell
wp plugin check aireceptionist-so
```

## Package

Run this from the parent `wordpress` folder:

```powershell
Compress-Archive -Path .\aireceptionist-so -DestinationPath .\aireceptionist-so-1.0.0.zip
```

Before directory submission, add the real WordPress.org contributor username to `readme.txt`. Also add `Tested up to` only after the plugin has been tested on that WordPress version.
