Download the PHP package alexsancho/wp-admin-no-ajax without Composer
On this page you can find all versions of the php package alexsancho/wp-admin-no-ajax. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alexsancho/wp-admin-no-ajax
More information about alexsancho/wp-admin-no-ajax
Files in alexsancho/wp-admin-no-ajax
Package wp-admin-no-ajax
Short Description A WordPress plugin that lightens the WP AJAX routine and directs the requests to front-end rather than admin back-end.
License MIT
Informations about the package wp-admin-no-ajax
WP Plugin: Admin-No-Ajax
A WordPress plugin that changes the WP AJAX routine and rewrites the ajax requests to custom url rather than /wp-admin/admin-ajax.php
back-end.
Install
Recommended installation to WP project is through composer:
Use cases
- Rewrite all admin-ajax.php queries into custom url so you can allow
/wp-admin/
to only certain IP-addresses. - You can use this to confuse bots which might try to use vulnerabilities in admin-ajax.php.
Configuration
Variables
This plugin url is by default /admin-no-ajax/
. You can use filters to change it or you can set the default value by yourself by using:
Notice: Value set here can be filtered too, this just sets the starting point for the custom url.
Notice 2: After plugin installation and other changes be sure to refresh your permalinks by just going to Settings > Permalinks > and saving it without any modification.
Hooks & Filters
You can customize the url by using filter admin-no-ajax/keyword
.
You can run commands before ajax calls by using admin-no-ajax/before
or admin-no-ajax/before/{action}
All versions of wp-admin-no-ajax with dependencies
roave/security-advisories Version dev-master
composer/installers Version ^v1.0.12