You appear to be a bot. Output may be restricted
Description
Display the opted-in settingsEach field is part of the bw_squeeze option:
- bw_squeeze['newsletter'] = default contacts system: Mad Mimi, InfusionSoft
- bw_squeeze['opted-in'] = default opted-in page ID
- bw_squeeze['submit-text'] = "Sign up now! "
- bw_squeeze['privacy'] = privacy policy page ID
- bw_squeeze['content_type'] = "text/html" / "text/plain";
Usage
oiksp_squeeze_options();
Parameters
Returns
voidSource
File name: oik-squeeze/admin/oik-squeeze.phpLines:
1 to 16 of 16
function oiksp_squeeze_options() { $option = 'bw_squeeze'; $options = bw_form_start( $option, 'oik_squeeze' ); /** * Discover other active newsletters. */ add_filter( "oiksp_newsletters", "oiksp_newsletters_filter" ); bw_select_arr( $option, "Newsletter system", $options, 'newsletter', array( "#options" => oiksp_newsletters(), "#optional" => true) ); bw_form_field_noderef( "bw_squeeze[opted-in]", null, "Default opted-in page", $options['opted-in'], array( "#type" => "opted_in", "#optional" => true ) ); bw_textfield_arr( $option, "Sign up now! text (text=)", $options, 'submit-text', 40 ); bw_form_field_noderef( "bw_squeeze[privacy]", null, "Privacy policy page", $options['privacy'], array( "#type" => "page", "#optional" => true ) ); bw_select_arr( $option, "Email content type", $options, 'content_type', array( "#options" => oiksp_email_content_types() ) ); etag( "table" ); p( isubmit( "ok", "Save", null, "button-primary" ) ); etag( "form" ); }View on GitHub