> For the complete documentation index, see [llms.txt](https://developers.disciple.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.disciple.tools/theme-core/hooks/settings.md).

# Public settings

Filter `dt_core_public_endpoint_settings`, in D.T v1.0.7\
Expose settings publicly to world. To not use unless it is for setting that must be accessed before the user is logged in. Settings are available at <https://dt-instance/wp-json/dt-public/dt-core/v1/settings>

Usage example:

```php
add_filter( "dt_core_public_endpoint_settings", function ( $settings ){
    $settings["login_settings"]["google"] = [ "login_url" => "https://google.com/login?redirect=https://dt-instance.com/wp-json/google-auth" ];
    return $settings;
} );
```
