Example #1
0
function sw_linkedIn_options_function($sw_options)
{
    // Create the new option in a variable to be inserted
    $linkedIn = array('linkedIn' => array('type' => 'checkbox', 'content' => 'LinkedIn', 'default' => 1));
    // Call the function that adds the On / Off Switch and Sortable Option
    return sw_add_network_option($sw_options, $linkedIn);
}
function sw_pinterest_options_function($sw_options)
{
    // Create the new option in a variable to be inserted
    $pinterest = array('pinterest' => array('type' => 'checkbox', 'content' => 'Pinterest', 'default' => 1));
    // Call the function that adds the On / Off Switch and Sortable Option
    return sw_add_network_option($sw_options, $pinterest);
}
Example #3
0
function sw_email_options_function($sw_options)
{
    // Create the new option in a variable to be inserted
    $email = array('email' => array('type' => 'checkbox', 'content' => 'Email', 'default' => 0));
    // Call the function that adds the On / Off Switch and Sortable Option
    return sw_add_network_option($sw_options, $email);
}
Example #4
0
function sw_tumblr_options_function($sw_options)
{
    // Create the new option in a variable to be inserted
    $tumblr = array('tumblr' => array('type' => 'checkbox', 'content' => 'Tumblr', 'default' => 0));
    // Call the function that adds the On / Off Switch and Sortable Option
    return sw_add_network_option($sw_options, $tumblr);
}
Example #5
0
function sw_facebook_options_function($sw_options)
{
    // Create the new option in a variable to be inserted
    $facebook = array('facebook' => array('type' => 'checkbox', 'content' => 'Facebook', 'default' => 1));
    // Call the function that adds the On / Off Switch and Sortable Option
    return sw_add_network_option($sw_options, $facebook);
}
function sw_googlePlus_options_function($sw_options)
{
    // Create the new option in a variable to be inserted
    $googlePlus = array('googlePlus' => array('type' => 'checkbox', 'content' => 'Google Plus', 'default' => 1));
    // Call the function that adds the On / Off Switch and Sortable Option
    return sw_add_network_option($sw_options, $googlePlus);
}
Example #7
0
function sw_reddit_options_function($sw_options)
{
    // Create the new option in a variable to be inserted
    $reddit = array('reddit' => array('type' => 'checkbox', 'content' => 'Reddit', 'default' => 0));
    // Call the function that adds the On / Off Switch and Sortable Option
    return sw_add_network_option($sw_options, $reddit);
}
function sw_stumbleupon_options_function($sw_options)
{
    // Create the new option in a variable to be inserted
    $stumbleupon = array('stumbleupon' => array('type' => 'checkbox', 'content' => 'StumbleUpon', 'default' => 0));
    // Call the function that adds the On / Off Switch and Sortable Option
    return sw_add_network_option($sw_options, $stumbleupon);
}