render_block_core_form_email_content

render_block_core_form_email_content

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.18.2.0

apply_filters('render_block_core_form_email_content') is found 1 times:

  • /build/block-library/blocks/form.php line 108
    		$content .= sanitize_key( $key ) . ': ' . wp_kses_post( $value ) . '</br>';
    	}
    
    	// Filter the email content.
    	$content = apply_filters( 'render_block_core_form_email_content', $content, $params );
    
    	// Send the email.
    	$result = wp_mail(
    		str_replace( 'mailto:', '', $params['formAction'] ),
    		__( 'Form submission', 'gutenberg' ),
    		$content