You appear to be a bot. Output may be restricted
Description
Check the name given against the one registered
Usage
oiksp_check_name( $post_id, $name );
Parameters
- $post_id
- ( mixed ) required –
- $name
- ( mixed ) required –
Returns
voidSource
File name: oik-squeeze/shortcodes/oik-squeeze.phpLines:
1 to 11 of 11
function oiksp_check_name( $post_id, $name ) { $oiksp_name = get_post_meta( $post_id, "_oiksp_name", true ); if ( $name == $oiksp_name ) { $valid = true; } else { p( "Email already subscribed with different name" ); $valid = false; } bw_trace2( $valid, "valid" ); return( $valid ); }View on GitHub