gutenberg_render_block_core_form_extra_fields
gutenberg_render_block_core_form_extra_fields
Appears in: gutenberg.16.9.0, gutenberg.17.0.2, gutenberg.17.1.2, gutenberg.17.2.3, gutenberg.17.3.0, gutenberg.17.4.1, gutenberg.17.5.0, gutenberg.17.5.2, gutenberg.17.6.5, gutenberg.17.7.0, gutenberg.17.8.0, gutenberg.17.8.2, gutenberg.17.9.0
Hook Type: filter
See hook in action
Displaying hooks found in version: gutenberg.17.9.0apply_filters('gutenberg_render_block_core_form_extra_fields') is found 1 times:
- /build/block-library/blocks/form.php line 36
// Add the method attribute. If it is not set, default to `post`. $method = empty( $attributes['method'] ) ? 'post' : $attributes['method']; $processed_content->set_attribute( 'method', $method ); $extra_fields = apply_filters( 'gutenberg_render_block_core_form_extra_fields', '', $attributes ); return str_replace( '</form>', $extra_fields . '</form>', $processed_content->get_updated_html() );