Title: Rest Routes – Custom Endpoints for WordPress REST API
Author: Rest Routes
Published: <strong>2016 年 1 月 27 日</strong>
Last modified: 2023 年 7 月 10 日

---

搜尋外掛

![](https://ps.w.org/rest-routes/assets/banner-772x250.png?rev=1337296)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/rest-routes/assets/icon-128x128.png?rev=1337282)

# Rest Routes – Custom Endpoints for WordPress REST API

 由 [Rest Routes](https://profiles.wordpress.org/wp-making/) 開發

[下載](https://downloads.wordpress.org/plugin/rest-routes.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/rest-routes/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/rest-routes/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/rest-routes/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/rest-routes/#developers)

 [技術支援](https://wordpress.org/support/plugin/rest-routes/)

## 外掛說明

### Unleash the Power of Custom Endpoints for WordPress REST API

Say goodbye to complex PHP coding and welcome Rest Routes, the ultimate solution
for adding custom endpoints to your WordPress REST API effortlessly. With Rest Routes,
building amazing custom endpoints for your website becomes a breeze.

### Create Unlimited Custom Routes

Unlock the full potential of your website by creating unlimited custom routes using
our user-friendly interface. In just a few simple steps, you’ll have your new endpoint
available through the WP REST API, without touching a single line of code.

### Customize with Ease

Rest Routes offers a seamless customization experience. Give your custom endpoint
a name, add filters to refine the results, and choose which fields to expose through
the route. You have complete control over default and custom fields, making your
endpoint truly tailored to your needs.

### Free Version Highlights

The free version of Rest Routes comes packed with essential features, including 
displaying custom posts, default fields, custom fields, and taxonomies. You can 
filter by default post fields, set result limits and offsets, and define custom 
result orders.

### Upgrade to Rest Routes Pro

[Upgrade to Rest Routes Pro](http://restroutes.com/) for an enhanced experience.
Enjoy a redesigned interface, unleash the power of all HTTP methods, build routes
for custom tables, posts, taxonomies, and users. Edit posts and their connected 
fields and taxonomies effortlessly. Benefit from advanced features like multiple
endpoints per route, custom parameters, powerful query building, privacy control,
and much more:

 * Build custom endpoints for custom SQL queries
 * Create custom endpoints for external requests to integrate with third-party services
 * Build routes for custom tables, posts, taxonomies, and users
 * Edit posts along with connected custom fields and taxonomies effortlessly
 * Multiple endpoints per route for comprehensive functionality
 * Custom parameters for added customization options
 * Powerful advanced engine for building complex custom queries
 * Privacy control for data security
 * Expanded filter options for fine-tuning endpoints
 * Connection of custom fields and taxonomies on post creation
 * Creation of custom fields and taxonomies
 * Custom taxonomies filter for precise filtering
 * Custom fields filter for targeted data retrieval
 * Dynamic data available for dynamic endpoint responses (e.g., current date, current
   user)
 * Compatibility with popular plugins like ACF, ACF Pro, and Toolset Types (single
   and repeating fields)
 * Premium support for any assistance you may need

### Seamless Integration with Popular Plugins

Rest Routes seamlessly integrates with popular plugins like ACF, ACF Pro, and Toolset
Types, supporting single and repeating fields. Create custom fields, filter by custom
taxonomies, and utilize dynamic data for a truly dynamic experience.

[Upgrade to Rest Routes Pro now](http://restroutes.com/) and unlock the full potential
of custom endpoints for your WP REST API. Experience the freedom to create, customize,
and take your website to new heights. Get ready to unleash the power of Rest Routes
Pro with premium support for all your needs. Visit [Rest Routes](http://restroutes.com/)
to get started today!

#### Pro Feature:

#### Pro Feature:

#### Pro Feature:

## 螢幕擷圖

 * [[
 * Customizing the output of route for displaying users
 * [[
 * Route for creating posts and custom fields
 * [[
 * Route for inserting data into custom database tables
 * [[
 * Customizing the output of a route for displaying posts
 * [[
 * Customizing the output of a route for displaying data from a custom table
 * [[
 * Filtering by custom field in a route for displaying posts
 * [[
 * Filtering by default post fields
 * [[
 * Creating a custom endpoint for doing external requests
 * [[
 * Configuring pagination of a route for displaying users
 * [[
 * Creating a route for performing custom SQL queries
 * [[
 * The output of a route with a custom field filter

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/rest-routes` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 使用者評論

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

### 󠀁[Nice plugin.](https://wordpress.org/support/topic/nice-plugin-4924/)󠁿

 [uusr](https://profiles.wordpress.org/uusr/) 2023 年 5 月 1 日

I would like a translation into Russian.

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

### 󠀁[great support, quick response](https://wordpress.org/support/topic/great-support-quick-response-4/)󠁿

 [noonoon](https://profiles.wordpress.org/noonoon/) 2022 年 1 月 14 日

we all know, it is not “if it will have error”, is “when it will have error” hence
the biggest consideration for us is always about the support. i must say the dev
team from rest routes has done a great job in responding in my issues. thank you.
highly recommended.

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

### 󠀁[Do yourself a favour](https://wordpress.org/support/topic/do-yourself-a-favour/)󠁿

 [paulkj](https://profiles.wordpress.org/paulkj/) 2021 年 6 月 20 日

Do yourself a favour get the pro… its worth a lot more than the value its up for…
This plugin is a game changer… 1. the plugin itself.. very well coded, no slow down…
what so ever.. once you get the hang of it very east to use.. thats coming from 
a total novice.. if you already know what you are doing… well… ill say no more..
2. The support… is the best ive ever had… replying in a very timely manner…. and
couldn’t be any more helpful if he tried. would give it 10 stars if I could.

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

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

 [tobfather](https://profiles.wordpress.org/tobfather/) 2021 年 6 月 8 日

Best plugin for custom endpoints! My requirements were to have the plugin work with
afc-plugin, custom fields and array-parameters. At first there were some issues 
but the support is great, help was provided fast and competent and helped to solve
all my issues! So thumbs up!

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

### 󠀁[Good plugin with prompt support](https://wordpress.org/support/topic/good-plugin-with-prompt-support/)󠁿

 [Steve Hine](https://profiles.wordpress.org/stevehine/) 2021 年 5 月 26 日

Useful plugin with a developer looking to extend the feature set. Fast responce 
to queries and suggestions. Pro version is well worth the minimal cost.

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

### 󠀁[Great plugin, great support](https://wordpress.org/support/topic/great-plugin-great-support-1386/)󠁿

 [maratyesu](https://profiles.wordpress.org/maratyesu/) 2021 年 4 月 4 日

Easy plugin to use, many features. Very kind support. Recommended!

 [ 閱讀全部 16 則使用者評論 ](https://wordpress.org/support/plugin/rest-routes/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Rest Routes – Custom Endpoints for WordPress REST API〉的
開發相關工作。

參與者

 *   [ Rest Routes ](https://profiles.wordpress.org/wp-making/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)

[將〈Rest Routes – Custom Endpoints for WordPress REST API〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/rest-routes)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/rest-routes/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/rest-routes/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/rest-routes/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/rest-routes/)。

## 變更記錄

#### 5.5.5

 * PRO/FREE: Fixes

#### 5.5.4

 * PRO/FREE: Fixes

#### 5.5.3

 * PRO: Fixed compatibility issue with WordFence

#### 5.5.2

 * FREE: Added missing file

#### 5.5.1

 * FREE: Pagination feature added in Limit & Offset section
 * PRO: Fixed error happening on output sorting when no field was defined

#### 5.5.0

 * PRO: Added pagination features
 * PRO: Added hook for REST API call endpoint type response body
 * PRO: Added placeholder replacer for Custom SQL query endpoint type

#### 5.4.1

 * PRO: Fixed display users route not editable

#### 5.4.0

 * PRO: Pagination added / Limit Offset fixed

#### 5.3.0

 * PRO: Added Basic Authentication
 * PRO: Fixed date filter

#### 5.2.0

 * FREE/PRO: Added generated endpoint URL visualization in the edit screen
 * FREE/PRO: Fixed bug in the output order fields

#### 5.1.2

 * FREE: Added missing files

#### 5.1.1

 * FREE: Added missing files

#### 5.1.0

 * FREE: Upgrade of free version + opened many premium features

#### 5.0.1

 * PRO: Added missing codemirror assets

#### 5.0.0

 * PRO: Added new endpoint type, Custom SQL Query
 * PRO: Added new endpoint type, REST API call
 * PRO: Added conditional display for output of fields
 * PRO: Enhanced support to ACF
 * PRO: Added possibility to change the order of fields in the output
 * PRO: Added parent taxonomy in the Display Taxonomies output
 * PRO: Added collapsible options for fields in filter and output
 * PRO: Several bug fixes

#### 4.17.1

 * FREE/PRO: Security Fixes

#### 4.13.0

 * FREE/PRO: Fixed problem with malformed strings in endpoint
 * FREE/PRO: Fixed problem with fixed filter values
 * FREE/PRO: Fixed problem with the URL of fresh custom endpoints when saving
 * FREE/PRO: Fixed bug in the enqueuing of Rest Routes scripts
 * FREE/PRO: Fixed bug in the Save button on RTL
 * PRO: Added filter for changing the custom table database
 * PRO: Added parent fields as output options

#### 4.12.0

 * FREE: Fixed bug when creating new custom endpoints
 * FREE: Improved performance

#### 4.11.0

 * PRO: Fixed issue in custom tables display route when trying to use Current User
   ID dynamic filter
 * PRO: Implemented a new source, request body, for custom table endpoints

#### 4.10.0

 * PRO: Added a few checks to avoid fatal error with malformed strings

#### 4.9.0

 * PRO: Fixed issue with custom table filter not allowing OR filters

#### 4.8.0

 * PRO|FREE: Updated the Freemius library

#### 4.7.0

 * PRO: Fixed issue of tabs no being displayed
 * PRO: Fixed issue of user meta fields not being properly displayed in the routes

#### 4.6.0

 * Free: Fixed issue which was avoiding the creation of new endpoints

#### 4.1.0

 * FREE: Implemented the PRO interface with PRO features locked

#### 4.0.0

 * PRO: Introduced permalink as an output field for posts
 * PRO: Introduced endpoint action for inserting items on custom database tables
 * PRO: Introduced endpoint action for editing items on custom database tables
 * PRO: Introduced endpoint action for deleting items on custom datbase tables
 * PRO: Introduced endpoint action for deleting items on custom datbase tables
 * PRO: Introduced endpoint action for creating users
 * PRO: Introduced endpoint action for editing users
 * PRO: Introduced endpoint action for updating users
 * PRO: Several UI changes for improving the user experience
 * PRO: Security fixes
 * PRO: Fixed issue with terms filter
 * PRO: Fixed the permission of some internal routes
 * PRO: Added option to choose whether you want to append terms when creating a 
   post or not

#### 3.4.0

 * PRO: Added compatibility with ACF and ACF Pro (single and repeating fields)
 * Fixed bug when rendering posts from multiple post types

#### 3.1.0

 * Fixed a bug when editing custom endpoints for custom tables

#### 3.0.0

 * Added the possibility of creating custom endpoints for custom tables
 * Fixed some bugs
 * Performance improvements

#### 2.2.3

 * Fixed bugs

#### 2.2.2

 * Fixed bug in the route duplication

#### 2.2.1

 * Fixed bug when adding more than 5 routes
 * Implemented new feature for duplicating routes

#### 2.2.0

 * Added “Display Taxonomies” endpoint action
 * Added feature for outputting the featured image
 * Added feature for outputting post attachments
 * Added feature for choosing which term fields to output in the “Display Posts”
   endpoint action
 * Added feature for outputting term meta fields in the “Display Posts” endpoint
   action
 * Fixing bugs
 * Performance improvements
 * Fixing bugs

#### 2.0.13

 * Fixing bugs

#### 2.0.12

 * Fixing bugs

#### 2.0.11

 * Fixing bugs

#### 2.0.10

 * Fixing bugs

#### 2.0.9

 * Fixing bugs

#### 2.0.8

 * Fixing bugs

#### 2.0.7

 * Fixing bugs

#### 2.0.6

 * Fixing bugs

#### 2.0.5

 * Fixing bugs

#### 2.0.4

 * Fixing wrong redirection after update

#### 2.0.3

 * Fixing wrong redirection after update

#### 2.0.2

 * Missing folders

#### 2.0.1

 * Missing folders

#### 2.0.0

 * Fixed bugs
 * Introduced Pro upgrade

#### 1.7.0

 * Fixed version number

#### 1.6.0

 * Fixed version number

#### 1.5.0

 * Fixed some PHP notices

#### 1.4.0

 * Fixed bugs

#### 1.3.0

 * Fixed bugs

#### 1.2.0

 * Fixed a bug when creating a route with only one field in output

#### 1.1.0

 * Fixed a some warning messages
 * Added support to custom post types

#### 1.0.0

First release.

## 中繼資料

 *  版本 **5.5.5**
 *  最後更新 **3 年前**
 *  啟用安裝數 **80+**
 *  WordPress 版本需求 ** 4.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.2.9**
 *  語言
 * [English (US)](https://wordpress.org/plugins/rest-routes/)
 * 標籤
 * [custom](https://tw.wordpress.org/plugins/tags/custom/)[custom endpoint](https://tw.wordpress.org/plugins/tags/custom-endpoint/)
   [endpoint](https://tw.wordpress.org/plugins/tags/endpoint/)[rest](https://tw.wordpress.org/plugins/tags/rest/)
   [route](https://tw.wordpress.org/plugins/tags/route/)
 *  [進階檢視](https://tw.wordpress.org/plugins/rest-routes/advanced/)

## 評分

 4.9 星，滿分為 5 星

 *  [  15 個 5 星使用者評論     ](https://wordpress.org/support/plugin/rest-routes/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/rest-routes/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/rest-routes/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/rest-routes/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/rest-routes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rest-routes/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/rest-routes/reviews/)

## 參與者

 *   [ Rest Routes ](https://profiles.wordpress.org/wp-making/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/rest-routes/)