get_rtmedia_default_privacy

Get default privacy.

Description

(int) get_rtmedia_default_privacy(); 

Returns (int)


Usage

  1. if ( !function_exists( 'get_rtmedia_default_privacy' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'rtmedia-for-wordpress-buddypress-and-bbpress/app/main/controllers/template/rtmedia-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_rtmedia_default_privacy(); 
  7.  

Defined (1)

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

/app/main/controllers/template/rtmedia-functions.php  
  1. function get_rtmedia_default_privacy() { 
  2.  
  3. global $rtmedia; 
  4.  
  5. if ( isset( $rtmedia->options['privacy_default'] ) ) { 
  6. return $rtmedia->options['privacy_default']; 
  7.  
  8. return 0; 
  9.