WP HOOKS

Bloki

Hooki edytora bloków (Gutenberg).

0 akcji37 filtrówrazem 37

Popularne w tej kategorii

Ogranicza lub rozszerza listę dozwolonych bloków w edytorze Gutenberg.

Dodaje własne kategorie bloków w inserterze edytora Gutenberga.

Filtruje wyrenderowany HTML pojedynczego bloku Gutenberga.

Wszystkie hooki

allowed_block_types_allfiltr

Filters the allowed block types for all editor types.

block_bindings_source_valuefiltr

Filters the output of a block bindings source.

block_bindings_supported_attributesfiltr

Filters the supported block attributes for block bindings.

block_bindings_supported_attributes_{$block_type}filtrdynamiczny

Filters the supported block attributes for block bindings.

block_categories_allfiltr

Filters the default array of categories for block types.

block_editor_rest_api_preload_pathsfiltr

Filters the array of REST API paths that will be used to preloaded common data for the block editor.

block_editor_settings_allfiltr

Filters the settings to pass to the block editor for all editor type.

block_parser_classfiltr

Filter to allow plugins to replace the server-side block parser.

block_type_metadatafiltr

Filters the metadata provided for registering a block type.

block_type_metadata_settingsfiltr

Filters the settings determined from the block type metadata.

default_template_typesfiltr

Filters the list of default template types.

default_wp_template_part_areasfiltr

Filters the list of allowed template part area values.

enqueue_empty_block_content_assetsfiltr

Filters whether to enqueue assets for a block which has no rendered content.

excerpt_allowed_blocksfiltr

Filters the list of blocks that can contribute to the excerpt.

excerpt_allowed_wrapper_blocksfiltr

Filters the list of blocks that can be used as wrapper blocks, allowing excerpts to be generated from the `innerBlocks` of these wrappers.

get_block_file_templatefiltr

Filters the block template object after it has been (potentially) fetched from the theme file.

get_block_templatefiltr

Filters the queried block template object after it's been fetched.

get_block_templatesfiltr

Filters the array of queried block templates array after they've been fetched.

get_block_type_uses_contextfiltr

Filters the registered uses context for a block type.

get_block_type_variationsfiltr

Filters the registered variations for a block type.

hooked_blockfiltr

Filters the parsed block array for a given hooked block.

hooked_block_{$hooked_block_type}filtrdynamiczny

Filters the parsed block array for a given hooked block.

hooked_block_typesfiltr

Filters the list of hooked block types for a given anchor block type and relative position.

interactivity_process_directivesfiltr

Filters whether Interactivity API should process directives.

pre_get_block_file_templatefiltr

Filters the block template object before the theme file discovery takes place.

pre_get_block_templatefiltr

Filters the block template object before the query takes place.

pre_get_block_templatesfiltr

Filters the block templates array before the query takes place.

pre_render_blockfiltr

Allows render_block() to be short-circuited, by returning a non-null value.

query_loop_block_query_varsfiltr

Filters the arguments which will be passed to `WP_Query` for the Query Loop Block.

register_block_type_argsfiltr

Filters the arguments for registering a block type.

render_blockfiltr

Filters the content of a single block.

render_block_{$this->name}filtrdynamiczny

Filters the content of a single block.

render_block_contextfiltr

Filters the default context provided to a rendered block.

render_block_datafiltr

Filters the block being rendered in render_block(), before it's processed.

should_load_remote_block_patternsfiltr

Filter to disable remote block patterns.

widget_types_to_hide_from_legacy_widget_blockfiltr

Filters the list of widget-type IDs that should **not** be offered by the Legacy Widget block.

wp_allowed_block_metadata_collection_rootsfiltr

Filters the root directory paths for block metadata collections.