---
id: gk-gravityview-custom-code-placeholder-doctor
title: "Filter - gk/gravityview/custom-code/placeholder-doctor"
sidebar_label: "gk/gravityview/custom-code/placeholder-doctor"
---

# Filter: gk/gravityview/custom-code/placeholder-doctor

Controls whether the placeholder doctor may emit `_doing_it_wrong()` notices.

The doctor is a save-time / debugging aid: by default it runs only when `WP_DEBUG` is enabled or in an admin (save) context, so production front-end renders stay silent.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $enabled | `bool` | Whether the doctor runs. Default: WP_DEBUG is on or the request is admin-side. |
| $content | `string` | The content being checked. |

### Since

- TBD: TBD

### Source

Defined in `src/Frontend/Frontend.php` at line 2611

