lib3

This is a shortcut function to access the latest TheLib_Core object.

Description

lib3(); 

The shortcut function is called lib3 because it is incompatible with the old WDev() function. The number 3 reflects the main version of this module.

The main version is only increased when backwards compatibility fails!

Usage: lib3()->ui->admin_message();


Usage

  1. if ( !function_exists( 'lib3' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'membership-2/lib/wpmu-lib/core.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = lib3(); 
  7.  

Defined (1)

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

/lib/wpmu-lib/core.php  
  1. function lib3() { 
  2. return TheLib3_Wrap::get_obj();