# 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.1.zip
```

## WordPress.org directory assets

The icon, banner, and screenshots live in the sibling `aireceptionist-so-assets` folder. Upload those files to the top-level `assets` directory in the WordPress.org SVN repository. They do not belong in the downloadable plugin ZIP.

Update `Tested up to` only after the plugin has been tested on that WordPress version.
