PHPackages                             motiontactic/wp-ajax - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. motiontactic/wp-ajax

ActiveLibrary

motiontactic/wp-ajax
====================

Class to be extended to add boilerplate to WP-AJAX

1.7(4y ago)063MITPHPPHP &gt;=7.1

Since Mar 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mt-gareth/wp-ajax)[ Packagist](https://packagist.org/packages/motiontactic/wp-ajax)[ RSS](/packages/motiontactic-wp-ajax/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)DependenciesVersions (9)Used By (0)

PHP Library: WP-AJAX
====================

[](#php-library-wp-ajax)

[![Latest Stable Version](https://camo.githubusercontent.com/b2d613da6af1c21ede7c489cd29909e1d972e866aa865af8c930f6ff4ff9a5fb/68747470733a2f2f706f7365722e707567782e6f72672f6d6f74696f6e7461637469632f77702d616a61782f762f737461626c65)](https://packagist.org/packages/motiontactic/wp-ajax)[![Total Downloads](https://camo.githubusercontent.com/bf297722f8a74f0cd779ed89d76369f7de857afadfb4f94f9e7be4dbd755986e/68747470733a2f2f706f7365722e707567782e6f72672f6d6f74696f6e7461637469632f77702d616a61782f646f776e6c6f616473)](https://packagist.org/packages/motiontactic/wp-ajax)[![License](https://camo.githubusercontent.com/81a199242265ac8f23e7a20e44d322c2a2ed1297355cb8c8592cdef5c2ac4694/68747470733a2f2f706f7365722e707567782e6f72672f6d6f74696f6e7461637469632f77702d616a61782f6c6963656e7365)](https://packagist.org/packages/motiontactic/wp-ajax)

A class to add boilerplate code to quickly setup WordPress AJAX

Install
-------

[](#install)

Recommended installation to WP MU Plugin is through composer:

```
$ composer require motiontactic/wp-ajax

```

Usage
-----

[](#usage)

### Setup

[](#setup)

This class motiontactic\\WP\_AJAX is made to be extended to give you control over the query. Once extended, construct your new Class with the desired settings

```
