A WordPress-centric search engine for devs and theme authors



block_editor_settings ›

Since5.0.0
Deprecatedn/a
apply_filters( 'block_editor_settings', $editor_settings, $post )
Parameters: (2)
  • (array) $editor_settings Default editor settings.
    Required: Yes
  • (WP_Post) $post Post being edited.
    Required: Yes
Defined at:
Codex:

Filters the settings to pass to the block editor.





Source

$editor_settings = apply_filters( 'block_editor_settings', $editor_settings, $post );