---
url: /hooks/filters/wpce-enable-individual-node-endpoints.md
description: >-
  Enable REST endpoints for individual document nodes, which are disabled by
  default for privacy.
---

# `wpce_enable_individual_node_endpoints`&#x20;

Filters whether REST endpoints for individual document nodes should be enabled. This is `false` by default as some of these endpoints are public and thus expose additional information about content. (They won't expose data about posts that are not public, but exposing documents' JSON sources may not be desirable by default.)

## Parameters

1. `bool $enabled`

   Whether individual endpoints should be enabled.

## Example

```php
add_filter('wpce_enable_individual_node_endpoints', '__return_true');
```
