You appear to be a bot. Output may be restricted
Description
Implement snippet hook for [bw_contact_form]
Usage
bw_contact_form__snippet( $shortcode );
Parameters
- $shortcode
- ( mixed ) optional default: bw_contact_form –
Returns
voidSource
File name: oik/shortcodes/oik-contact-form.phpLines:
1 to 12 of 12
function bw_contact_form__snippet( $shortcode="bw_contact_form" ) { $contact = bw_array_get( $_REQUEST, "oiku_contact", null ); if ( $contact ) { BW_::p( __( "Note: If the form is submitted from Shortcode help then two emails would be sent.", "oik" ) ); BW_::p( __( "So the normal snippet code is not invoked in this case.", "oik" ) ); } else { //oik_require( "shortcodes/oik-user.php", "oik-user" ); $id = bw_default_user( true ); $example = "user=$id"; _sc__snippet( $shortcode, $example ); } }View on GitHub View on Trac