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.20.0.0

apply_filters('render_block_core_form_email_content') is found 1 times:

  • /build/block-library/blocks/form.php line 89
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
        $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