You are here

public static function ShareaholicAdmin::draw_verify_api_key in Share Buttons, Related Posts, Content Analytics - Shareaholic 8

Same name and namespace in other branches
  1. 7.3 admin.php \ShareaholicAdmin::draw_verify_api_key()

This function is in charge of the logic for showing whatever it is we want to show a user about whether they have verified their api key or not.

1 call to ShareaholicAdmin::draw_verify_api_key()
shareaholic_admin_settings.tpl.php in templates/shareaholic_admin_settings.tpl.php

File

./admin.php, line 127

Class

ShareaholicAdmin
This class takes care of all of the admin interface.

Code

public static function draw_verify_api_key() {
  if (!ShareaholicUtilities::api_key_verified()) {
    print theme('shareaholic_verify_api_key');
  }
}