You appear to be a bot. Output may be restricted
Description
Retrieve the double opt-in requirement of the opted-in page
Usage
$bool = oiksp_get_double( $post_id );
Parameters
- $post_id
- ( ID ) required – of the opted-in page
Returns
bool whether or not the page is single or double opt-in
Source
File name: oik-squeeze/shortcodes/oik-squeeze.php
Lines:
1 to 11 of 11
function oiksp_get_double( $post_id ) { $oiksp_double = get_post_meta( $post_id, "_oiksp_double", true ); if ( $oiksp_double == "on" ) { $oiksp_double = true; } else { $oiksp_double = false; } bw_trace2( $oiksp_double, "oiksp_double" ); return( $oiksp_double ); }