The document discusses replacing the use of admin-ajax.php in WordPress with the REST API. Admin-ajax.php is inefficient, not cached, lacks authentication and validation infrastructure, and results in ad hoc messy code. WordPress introduced core REST API support in version 4.4, and the REST API plugin adds built-in endpoints. Examples show converting an admin-ajax.php implementation to use the REST API instead, which is recommended as it is faster, cleaner, easy to implement and migrate to compared to admin-ajax.php.