block_type_metadata, $metadata

block_type_metadata, $metadata

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.23.6.2

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

  • /build/scripts/block-library/comments.php line 223

    Warning: Undefined array key 227 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 228 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	 * like `_wp_multiple_block_styles`, which is required in this case because
    	 * the block has multiple styles.
    	 */
    	/** This filter is documented in wp-includes/blocks.php */
    	$metadata = apply_filters( 'block_type_metadata', $metadata );
    
    	register_block_type( 'core/post-comments', $metadata );
    }
    add_action( 'init', 'gutenberg_register_legacy_post_comments_block', 21 );