You appear to be a bot. Output may be restricted
Description
Check that the contact is valid and matches the name and (when required) confirm field
Usage
oiksp_check_contact( $post, $name, $confirm, $atts );
Parameters
- $post
- ( mixed ) required –
- $name
- ( mixed ) required –
- $confirm
- ( mixed ) required –
- $atts
- ( mixed ) required –
Returns
voidSource
File name: oik-squeeze/shortcodes/oik-squeeze.phpLines:
1 to 17 of 17
function oiksp_check_contact( $post, $name, $confirm, &$atts ) { $id = $post->ID; $result = oiksp_check_name( $id, $name ); $status = oiksp_check_status( $id, $atts ); if ( !$status ) { if ( $result ) { $result = oiksp_validate_double( $post, $confirm, $atts ); } else { bw_trace2( $result, "Invalid name and status" ); } } else { bw_trace2( $result, "Valid status" ); $atts['confirm_key_required'] = false; } bw_trace2( $result ); return( $result ); }