Title: Admin Ajax dot php? No Thank You!
Author: postpostmodern
Published: <strong>June 28, 2017</strong>
Last modified: October 6, 2017

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/admin-ajax-php-no-thank-you/assets/icon-256x256.png?rev=1690123)

# Admin Ajax dot php? No Thank You!

 By [postpostmodern](https://profiles.wordpress.org/postpostmodern/)

[Download](https://downloads.wordpress.org/plugin/admin-ajax-php-no-thank-you.zip)

 * [Details](https://wordpress.org/plugins/admin-ajax-php-no-thank-you/#description)
 * [Reviews](https://wordpress.org/plugins/admin-ajax-php-no-thank-you/#reviews)
 *  [Installation](https://wordpress.org/plugins/admin-ajax-php-no-thank-you/#installation)
 * [Development](https://wordpress.org/plugins/admin-ajax-php-no-thank-you/#developers)

 [Support](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/)

## Description

Changes the wp-admin/admin-ajax.php endpoint to /ajax/
 Adds an endpoint to the 
REST API at `/wp-json/wp/v2/admin-ajax` that behaves exactly as wp-admin/admin-ajax.
php – requires PHP 5.3

## Installation

 1. Place /admin-ajax-dot-php-no-thank-you/ directory in /wp-content/plugins/
 2. Enable the rewrite or REST API endpoints and select a default, at Settings > admin-
    ajax.php Settings [wp-admin/options-general.php?page=admin-ajax.php-no-thank-you]
 3. Any place that calls `admin_url( 'admin-ajax.php' )` from PHP or `ajaxurl` from
    JavaScript will automatically use the new default endpoint instead of `/wp-admin/
    admin-ajax.php`
 4. `/wp-json/wp/v2/admin-ajax` in the REST API is also available for receiving requests.

## FAQ

  Installation Instructions

 1. Place /admin-ajax-dot-php-no-thank-you/ directory in /wp-content/plugins/
 2. Enable the rewrite or REST API endpoints and select a default, at Settings > admin-
    ajax.php Settings [wp-admin/options-general.php?page=admin-ajax.php-no-thank-you]
 3. Any place that calls `admin_url( 'admin-ajax.php' )` from PHP or `ajaxurl` from
    JavaScript will automatically use the new default endpoint instead of `/wp-admin/
    admin-ajax.php`
 4. `/wp-json/wp/v2/admin-ajax` in the REST API is also available for receiving requests.

## Reviews

![](https://secure.gravatar.com/avatar/0b73feb3f71e9f583f845cc6a0ce7443103ed27d0e889a3ad42df17fb0c71a4d?
s=60&d=retro&r=g)

### 󠀁[Brilliant workaround.](https://wordpress.org/support/topic/brilliant-workaround/)󠁿

 [rcaetano](https://profiles.wordpress.org/rcaetano/) May 27, 2018

It is a brilliant workaround for websites that prevent you from accessing /wp-admin/
folder from the web.

 [ Read all 1 review ](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/reviews/)

## Contributors & Developers

“Admin Ajax dot php? No Thank You!” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ postpostmodern ](https://profiles.wordpress.org/postpostmodern/)
 *   [ pinecone-dot-website ](https://profiles.wordpress.org/pinecone-dot-io/)

[Translate “Admin Ajax dot php? No Thank You!” into your language.](https://translate.wordpress.org/projects/wp-plugins/admin-ajax-php-no-thank-you)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/admin-ajax-php-no-thank-you/),
check out the [SVN repository](https://plugins.svn.wordpress.org/admin-ajax-php-no-thank-you/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/admin-ajax-php-no-thank-you/)
by [RSS](https://plugins.trac.wordpress.org/log/admin-ajax-php-no-thank-you/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.6.0

 * set current_screen global so is_admin() returns true.

#### 0.4.0

 * fix calls to admin_url(‘admin-ajax.php’) with query vars in the string

#### 0.3.6

 * namespace functions

#### 0.3.5

 * fix rest api nonce / authentication, debugger on admin page

#### 0.3.0

 * initial admin settings

#### 0.2.0

 * Move to class & autoload

#### 0.1.0

 * Rest API endpoint added

#### .0.0.3

 * Prep for WP plugin directory

#### .0.0.2

 * Initial functionality, no settings

#### .0.0.1

 * Initial release

## Meta

 *  Version **0.6.3**
 *  Last updated **9 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.8.28**
 * Tags
 * [admin-ajax.php](https://wordpress.org/plugins/tags/admin-ajax-php/)[ajax](https://wordpress.org/plugins/tags/ajax/)
   [javascript](https://wordpress.org/plugins/tags/javascript/)
 *  [Advanced View](https://wordpress.org/plugins/admin-ajax-php-no-thank-you/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/reviews/)

## Contributors

 *   [ postpostmodern ](https://profiles.wordpress.org/postpostmodern/)
 *   [ pinecone-dot-website ](https://profiles.wordpress.org/pinecone-dot-io/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/admin-ajax-php-no-thank-you/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://cash.me/$EricEaglstun)