directory

The WordPress Core directory shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[directory]'); 
  1. // variable usage 
  2. $result = do_shortcode('[directory]'); 
  3. echo $result;  

Defined (1)

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

/gravity-forms-addons.php  
  1. if ( self::is_gravity_page() ) { 
  2. self::load_functionality(); 
  3.  
  4. add_action( 'init', array( 'GFDirectory', 'init' ) ); 
  5. add_shortcode( 'directory', array( 'GFDirectory', 'make_directory' ) ); 
  6.  
  7.  
  8. //Plugin starting point. Will load appropriate files 
  9. public static function init() {