You are here

private static function ShareaholicUtilities::defaults in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

Same name and namespace in other branches
  1. 8 utilities.php \ShareaholicUtilities::defaults()

Returns the defaults for shareaholic settings

Return value

array

1 call to ShareaholicUtilities::defaults()
ShareaholicUtilities::get_settings in ./utilities.php
Just a wrapper around variable_get to get the shareaholic settings. If the settings have not been set it will return an array of defaults.

File

./utilities.php, line 40

Class

ShareaholicUtilities

Code

private static function defaults() {
  return array(
    'disable_internal_share_counts_api' => 'on',
    'api_key' => '',
    'verification_key' => '',
  );
}