grofiles_add_settings

Adds Gravatar Hovercard setting.

Description

grofiles_add_settings(); 

Usage

  1. if ( !function_exists( 'grofiles_add_settings' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/gravatar-hovercards.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = grofiles_add_settings(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/gravatar-hovercards.php  
  1. function grofiles_add_settings() { 
  2. if ( !get_option( 'show_avatars' ) ) 
  3. return; 
  4.  
  5. add_settings_field( 'gravatar_disable_hovercards', __( 'Gravatar Hovercards', jetpack ), 'grofiles_setting_callback', 'discussion', 'avatars' ); 
  6. register_setting( 'discussion', 'gravatar_disable_hovercards', 'grofiles_hovercard_option_sanitize' );