render_block_core_form_email_content

render_block_core_form_email_content

Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.19.9.0

apply_filters('render_block_core_form_email_content') is found 1 times:

  • /build/block-library/blocks/form.php line 89
    		$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' ),
    		$content