block_type_metadata, $schema

block_type_metadata, $schema

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('block_type_metadata, $schema') is found 1 times:

  • /wp-includes/blocks/index.php line 122
    	};
    
    	foreach ( $core_blocks_meta as $name => $schema ) {
    		/** This filter is documented in wp-includes/blocks.php */
    		$schema = apply_filters( 'block_type_metadata', $schema );
    
    		// Backfill these properties similar to `register_block_type_from_metadata()`.
    		if ( ! isset( $schema['style'] ) ) {
    			$schema['style'] = "wp-block-{$name}";
    		}
    		if ( ! isset( $schema['editorStyle'] ) ) {