skipv1_0_0accordion

Accordion.

Description

skip\v1_0_0\accordion( (array) $elements, (array) $args = array(), (string) $return = 'html' ); 

Creating a jQuery UI Accordion.

Parameters (3)

0. $elements (array)
Elements array structured [ title ], [ content ] and [ args ]
1. $args — Optional. (array) => array()
Args array of [ id ], [ classes ], [ params ], [ tag ], [ title_tag ] and [ content_tag ]
2. $return — Optional. (string) => 'html'
How to return echo,, object or html

Usage

  1. if ( !function_exists( 'skip\v1_0_0\accordion' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'facebook-fanpage-import/includes/skip/elements/animated/accordion.php'; 
  3.  
  4. // Elements array structured [ 'title' ], [ 'content' ] and [ 'args' ] 
  5. $elements = array(); 
  6.  
  7. // Args array of [ 'id' ], [ 'classes' ], [ 'params' ], [ 'tag' ], [ 'title_tag' ] and [ 'content_tag' ] 
  8. $args = array(); 
  9.  
  10. // How to return 'echo', 'object' or 'html' 
  11. $return = 'html'; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = skip\v1_0_0\accordion($elements, $args, $return); 
  15.  

Defined (1)

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

/includes/skip/elements/animated/accordion.php