Linux 软件免费装

Admin Ajax dot php? No Thank You!

开发者 postpostmodern
pinecone-dot-io
更新时间 2017年10月6日 23:20
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 4.8

标签

ajax javascript admin-ajax.php

下载

详情介绍:

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

安装:

  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.

更新日志:

0.6.0 0.4.0 0.3.6 0.3.5 0.3.0 0.2.0 0.1.0 .0.0.3 .0.0.2 .0.0.1