Function: register_initial_settings

register_initial_settings( )

Register default settings available in WordPress.

Shortcut: ris

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.

The settings registered here are primarily useful for the REST API, so this does not encompass all settings available in WordPress.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.