sharing_global_resources_save

The Jetpack by WordPress.com sharing global resources save function.

Description

sharing_global_resources_save(); 

Usage

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

Defined (1)

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

/modules/sharedaddy/sharedaddy.php  
  1. function sharing_global_resources_save() { 
  2. update_option( 'sharedaddy_disable_resources', isset( $_POST['disable_resources'] ) ? 1 : 0 );