Skip to main content

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

NameTypeDescription
$enabledboolWhether the doctor runs. Default: WP_DEBUG is on or the request is admin-side.
$contentstringThe content being checked.

Since

  • TBD: TBD

Source

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