wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_classic_block_supports_inserter › WordPress Filter Hooks

Sincen/a
Deprecatedn/a
apply_filters( 'wp_classic_block_supports_inserter', false, get_post()
Parameters: (2)
  • () supports_inserter Whether the Classic block is available in the inserter.
    Required: Yes
  • () post The post being edited, or null if not in the post editor.
    Required: Yes
Defined at:
Codex:

Filters whether the Classic block should be available in the inserter.

Defaults to false. Use this filter to opt in (globally or per post).




Source

if ( ! (bool) apply_filters( 'wp_classic_block_supports_inserter', false, get_post() ) ) {