Skip to content
Commit 04dadc17 authored by Gary Pendergast's avatar Gary Pendergast
Browse files

Docs: Add missing REST API-related args to `register_post_type()` and `register_taxonomy()`.

These functions now accept the `show_in_rest`, `rest_base`, and `rest_controller_class` args.

Props ketuchetan, rahulsprajapati.
Fixes #39023.


Built from https://develop.svn.wordpress.org/trunk@39462


git-svn-id: https://core.svn.wordpress.org/trunk@39402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent b53aee70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment