You appear to be a bot. Output may be restricted
Description
Implements the [bw_contact_form] shortcodeCreates/processes an inline contact form for the user.
Usage
$string = bw_contact_form( $atts, $content, $tag );
Parameters
- $atts
- ( array ) optional – shortcode parameters
- $content
- ( string ) optional – not yet expected
- $tag
- ( string ) optional – shortcode name
Returns
string Generated HTML for the contact formSource
File name: oik/shortcodes/oik-contact-form.phpLines:
1 to 15 of 15
function bw_contact_form( $atts=null, $content=null, $tag=null ) { $email_to = bw_get_option_arr( "email", null, $atts ); if ( $email_to ) { $atts['email'] = $email_to; bw_display_contact_form($atts, null, $content); } else { /* * If no email address can be found, because it's not passed and not set in the oik-options, * then you'll get this message. */ e( __( "Cannot produce contact form for unknown user.", "oik" ) ); } return( bw_ret() ); }View on GitHub View on Trac