render_block_core_form_extra_fields, , $attributes
render_block_core_form_extra_fields, , $attributes
Appears in: gutenberg.23.6.2
Hook Type: filter
Displaying hooks found in version: gutenberg.23.6.2apply_filters('render_block_core_form_extra_fields, , $attributes') is found 1 times:
- /build/scripts/block-library/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() );