You appear to be a bot. Output may be restricted
Description
Display a "thank you" message
Usage
oiku_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
- $sent
- ( bool ) required – whether or not the email was sent
Returns
voidSource
File name: oik-user/shortcodes/oik-contact-user.phpLines:
1 to 12 of 12
function oiku_thankyou_message( $fields, $send, $sent ) { if ( $send ) { if ( $sent ) { p( "Thank you for your submission." ); } else { p( "Thank you for your submission. Something went wrong. Please try again." ); } } else { p( "Thank you for your submission." ); // spammer } }View on GitHub