render_block_core_form_extra_fields
render_block_core_form_extra_fields
Appears in: gutenberg.18.2.0, gutenberg.18.5.0, gutenberg.18.6.1, gutenberg.18.7.1, gutenberg.18.9.0, gutenberg.19.0.0, gutenberg.19.1.0, gutenberg.19.2.0, gutenberg.19.4.0, gutenberg.19.6.1, gutenberg.19.6.4, gutenberg.19.8.0, gutenberg.19.9.0
Hook Type: filter
See hook in action
Displaying hooks found in version: gutenberg.19.9.0apply_filters('render_block_core_form_extra_fields') is found 1 times:
- /build/block-library/blocks/form.php line 37
// 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( 'render_block_core_form_extra_fields', '', $attributes ); return str_replace( '</form>', $extra_fields . '</form>', $processed_content->get_updated_html() );