sharing_global_options

The WordPress Core sharing global options hook.

Description

add_action( 'sharing_global_options', (array) $array ); 

Parameters (1)

0. $array (array) => array( __CLASS__, 'sharing_global_options' )
The array.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'sharing_global_options', $array ); 
The following example is for adding a hook callback.
  1. // define the sharing_global_options callback 
  2. function action_sharing_global_options( $array ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'sharing_global_options', 'action_sharing_global_options', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'sharing_global_options', 'action_sharing_global_options', 10, 1 ); 

Defined (6)

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

/class.jetpack-twitter-cards.php  
  1. add_action( 'sharing_global_options', array( __CLASS__, 'sharing_global_options' ) ); 
/modules/likes.php  
  1. add_action( 'sharing_global_options', array( $this, 'admin_settings_showbuttonon_init' ), 19 ); 
  1. add_action( 'sharing_global_options', array( $this, 'admin_settings_init' ), 20 ); 
  1. do_action( 'sharing_global_options' ); 
/modules/sharedaddy/sharedaddy.php  
  1. add_action( 'sharing_global_options', 'sharing_global_resources', 30 ); 
/modules/sharedaddy/sharing.php  
  1. do_action( 'sharing_global_options' );