201f9d2864
`register_setting` can now be passed an array arguments to specify meta-data about the setting, much like using the `register_meta` API. Of note, it will now accept a `show_in_rest` arg to hint the inclusion of the setting in the REST API. `get_registered_settings()` is available as a utility to get all registered settings. Props rmccue, aaroncampbell. Fixes #37885. git-svn-id: https://develop.svn.wordpress.org/trunk@38635 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
src | ||
tests | ||
tools/i18n | ||
.editorconfig | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
Gruntfile.js | ||
package.json | ||
phpunit.xml.dist | ||
wp-cli.yml | ||
wp-config-sample.php | ||
wp-tests-config-sample.php |