sharing_plugin_settings

The Jetpack by WordPress.com sharing plugin settings function.

Description

sharing_plugin_settings( $links ); 

Parameters (1)

0. $links
The links.

Usage

  1. if ( !function_exists( 'sharing_plugin_settings' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/sharedaddy/sharedaddy.php'; 
  3.  
  4. // The links. 
  5. $links = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = sharing_plugin_settings($links); 
  9.  

Defined (1)

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

/modules/sharedaddy/sharedaddy.php  
  1. function sharing_plugin_settings( $links ) { 
  2. $settings_link = '<a href="options-general.php?page=sharing.php">'.__( 'Settings', jetpack ).'</a>'; 
  3. array_unshift( $links, $settings_link ); 
  4. return $links;