wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



allowed_block_types_all › WordPress Filter Hooks

Da5.8.0
Deprecaton/a
› apply_filters( 'allowed_block_types_all', $allowed_block_types, $block_editor_context )
Parametri: (2)
  • () allowed_block_types Array of block type slugs, or boolean to enable/disable all. Default true (all registered block types supported).
    Richiesto: Sì
  • () block_editor_context The current block editor context.
    Richiesto: Sì
Definito a:
Codex:

Filters the allowed block types for all editor types.





Sorgenti

$allowed_block_types = apply_filters( 'allowed_block_types_all', $allowed_block_types, $block_editor_context );