Filter: jsps_get_initial_settings

apply_filters( 'jsps_get_initial_settings', $opts ) → {array}
Gets the initial (sometimes empty) set of options for this plugin.

Parameters:

Name Type Description
$opts array The multiple used options.

Properties

Name Type Description
$opts['juiz_sps_version'] string The version of the plugin.
$opts['juiz_sps_style'] string The name of the style.
$opts['juiz_sps_networks'] array Empty array to be filled.
$opts['juiz_sps_order'] array Empty array to be filled.
$opts['juiz_sps_counter'] int Show the counter? (1 = yes, 0 = no)
$opts['juiz_sps_counter_option'] string Inline or global, or both?
$opts['juiz_sps_hide_social_name'] int Hide the text? (1 = yes, 0 = no)
$opts['juiz_sps_twitter_user'] string The Twitter via option.
$opts['juiz_sps_display_in_types'] array The post-types where to show buttons.
$opts['juiz_sps_display_where'] string bottom, top, both, or none.
$opts['juiz_sps_write_css_in_html'] int A performance option (not used yet)
$opts['juiz_sps_mail_subject'] string Subject of mail to be sent.
$opts['juiz_sps_mail_body'] string Body of mail to be sent.
$opts['juiz_sps_force_pinterest_snif'] int Force use JS for Pinterest button.
$opts['juiz_sps_colors'] array Array of colors for future use.

Properties

Name Type Description
$opts['juiz_sps_colors']['bg_color'] string A normal background color.
$opts['juiz_sps_colors']['bg_hcolor'] string A hover background color.
$opts['juiz_sps_colors']['txt_color'] string A normal text color.
$opts['juiz_sps_colors']['txt_hcolor'] string A hover text color.
Since:
  • 2.0.0 First version of the hook
Author:
Source:

Returns:

The options ready to be used to initial setting or multisite setup.
Type
array