mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 12:05:47 +00:00
In [48273] the rest_get_route_for_post function was introduced. This simplifies determining the REST API route for any given post object and adds a filter for custom controllers. Props ravatparmar. Fixes #50529. Built from https://develop.svn.wordpress.org/trunk@48381 git-svn-id: http://core.svn.wordpress.org/trunk@48150 1a063a9b-81f0-0310-95a4-ce76da25c4cd