- bw_form_field__oiksp_message() – Format the "_oiksp_message" field – setting a default if required
- bw_squeeze() – Implement the [bw_squeeze] shortcode
- bw_squeeze_form() – Handle the squeeze form or popup
- oiksc_ajax_nopriv_oiksp_form() – Implement "wp_ajax_nopriv_oiksp_form" action to display the squeeze page opt-in form for visitors
- oiksp_admin_menu() – Implement "oik_admin_menu" for oik-squeeze
- oiksp_ajax_oiksp_form() – Implement "wp_ajax_oiksp_form" action to display the squeeze page opt-in form
- oiksp_build_redirect() – Return the correct link for the opted-in page for this user
- oiksp_check_authority() – Check overriding authority to view this opted-in page
- oiksp_check_confirm() – Check the confirm value against the one registered
- oiksp_check_contact() – Check that the contact is valid and matches the name and (when required) confirm field
- oiksp_check_name() – Check the name given against the one registered
- oiksp_check_status() – Check the status of the oik_contact record for the opt-in requirements of the opted-in page
- oiksp_confirmed_contact() – Let the 3rd party email system know about the contact
- oiksp_confirmed_contact_madmimi() – Perform the "oiksp_confirmed_contact" action for a MadMimi mailing list
- oiksp_confirmed_contact_mailpoet() – Perform the "oiksp_confirmed_contact" action for a MailPoet mailing list
- oiksp_create_contact() – Create the oik_contact record for the first contact
- oiksp_create_oik_contact() – Create an oik_contact record programmatically
- oiksp_default() – Return the default option value from the bw_squeeze profile
- oiksp_display_confirmation() –
- oiksp_display_opted_in_excerpt() – Display the excerpt from the opted_in page
- oiksp_display_squeeze_form() – Display the signup form for the squeeze page This version doesn’t let other plugins play **?**
- oiksp_display_squeeze_popup() – Display the squeeze page popup link
- oiksp_email_body_label() – Return email body label, showing an example
- oiksp_email_content_types() – Return the list of email content types
- oiksp_generate_confirm() – Generate a 26 digit confirmation key for the double opt-in
- oiksp_get_contact() – Load an oik_contact record by the email address
- oiksp_get_double() – Retrieve the double opt-in requirement of the opted-in page
- oiksp_get_email_default() – Return a default email message for double opt-in
- oiksp_get_email_headers() – Set the email headers for the wp_mail() call
- oiksp_get_email_message() – Build the email message
- oiksp_get_email_subject() – Return the subject of the email
- oiksp_get_status() –
- oiksp_init() – Implement "oik_fields_loaded" action for oik-squeeze
- oiksp_lazy_admin_menu() – Display the menu for squeeze settings ( "bw_squeeze" )
- oiksp_lazy_redirect() – Lazy redirection for a squeeze page’s form
- oiksp_lazy_squeeze() – Display the squeeze page or not
- oiksp_loaded() – Function to invoke when oik-squeeze is loaded
- oiksp_madmimi_admin() – Display the menu for MadMimi settings "bw_madmimi"
- oiksp_madmimi_default() –
- oiksp_madmimi_do_page() – Mad Mimi settings
- oiksp_madmimi_options() –
- oiksp_madmimi_usage() – Some basic instructions for setting up Mad Mimi No logic to test yet! We could do this easily enough by pretending to add someone and using "oiksp_confirmed_contact_madmimi()"
- oiksp_mailpoet_default() –
- oiksp_newsletters() – Determine the 3rd party newsletter software to integrate with
- oiksp_newsletters_filter() – We need to find a better way of detecting which Newsletters are available.
- oiksp_post_link() – Display a link to a post
- oiksp_privacy_policy_link() – Display a link to the privacy policy
- oiksp_process_squeeze_form() – Process the signup form for the squeeze page
- oiksp_redirect() – Redirect to the opted-in page passing the required values
- oiksp_redirect_check() – Implement "template_redirect" action for oik-squeeze
- oiksp_register_contacts() – "oik_contact" custom post type
- oiksp_register_optedinpage() – Register the "opted_in" custom post type
- oiksp_replace_fields() – Perform symbolic substitution of the fields in the body
- oiksp_require_confirmation() – Update the oik-contact to requiring confirmation
- oiksp_send_email() – Build and send an email with fields substituted by default
- oiksp_send_optin_email() – Send the opt-in email
- oiksp_set_current_user() – Set the user to the admin user so that we can access private data
- oiksp_signup_header() – Implement "signup_header" action for oik-squeeze
- oiksp_squeeze_do_page() – Opted-in settings
- oiksp_squeeze_is_active() – Check if the [bw_squeeze] shortcode is active
- oiksp_squeeze_options() – Display the opted-in settings
- oiksp_squeeze_usage() – Give an example of a squeeze page
- oiksp_statuses() – Return a list of "Contacts" statuses
- oiksp_the_content() – Implement "the_content" filter for the "opted_in" custom post type
- oiksp_update_confirm() –
- oiksp_update_status() – Update the Contact’s status
- oiksp_validate_contact() – Validate the contact information with respect to the contact status
- oiksp_validate_double() – If the opted-in page requires double opt-in then we need to validate the confirm field as well We should only need to do this when we are on the opted-in page
- oiksp_validate_fields() – Validate the fields on the form
- oiksp_validate_name() – Return a validated name field
- oik_squeeze_activation() – Implement "admin_notices" filter for oik-squeeze
oik-squeeze APIs
Application Programming Interfaces for the oik-squeeze plugin: