You appear to be a bot. Output may be restricted
Description
Display a "thank you" message
Usage
bw_thankyou_message( $fields, $send, $sent );
Parameters
- $fields
- ( array ) required – in case we need them
- $send
- ( bool ) required – whether or not we were going to send the email / insert the post
- $sent
- ( bool ) required – whether or not the email was sent / post inserted
Returns
voidSource
File name: oik/shortcodes/oik-contact-form.phpLines:
1 to 11 of 11
function bw_thankyou_message( $fields, $send, $sent ) { if ( $send ) { if ( $sent ) { BW_::p( __( "Thank you for your submission.", "oik" ) ); } else { BW_::p( __( "Thank you for your submission. Something went wrong. Please try again.", "oik" ) ); } } else { BW_::p( __( "We would like to thank you for your submission.", "oik" ) ); // spammer } }View on GitHub View on Trac