membership_news_install

Addon Name: Dashboard News Stream Description: Members newstream dashboard widget Author: Barry (Incsub) Author URI: http://caffeinatedb.com.

Description

membership_news_install(); 

Usage

  1. if ( !function_exists( 'membership_news_install' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'membership-2/app_old/membershipincludes/addons/newsstream.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = membership_news_install(); 
  7.  

Defined (1)

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

/app_old/membershipincludes/addons/newsstream.php  
  1. function membership_news_install() { 
  2.  
  3. $build = 1; 
  4.  
  5. $installed = get_option('M_Newsstream_Installed', false); 
  6.  
  7. if($installed === false || $installed != $build) { 
  8.  
  9. update_option('M_Newsstream_Installed', $build);