You appear to be a bot. Output may be restricted
Description
Load an oik_contact record by the email address
Usage
oiksp_get_contact( $email );
Parameters
- ( mixed ) required –
Returns
void
Source
File name: oik-squeeze/shortcodes/oik-squeeze.php
Lines:
1 to 14 of 14
function oiksp_get_contact( $email ) { oiksp_set_current_user(); oik_require( "includes/bw_posts.inc" ); $atts = array( "post_type" => "oik_contact" , "meta_key" => "_oiksp_email" , "meta_value" => $email , "post_status" => "private" , "numberposts" => 1 ); $posts = bw_get_posts( $atts ); $post = bw_array_get( $posts, 0, null ); return( $post ); }