skipv1_0_0element_return

Helping function for handling element objects.

Description

skip\v1_0_0\element_return( (object) $object, (string) $return = 'html' ); 

Parameters (2)

0. $object (object)
The object to handle
1. $return — Optional. (string) => 'html'
How to return echo,, object or html

Usage

  1. if ( !function_exists( 'skip\v1_0_0\element_return' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'facebook-fanpage-import/includes/skip/elements/element.php'; 
  3.  
  4. // The object to handle 
  5. $object = null; 
  6.  
  7. // How to return 'echo', 'object' or 'html' 
  8. $return = 'html'; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = skip\v1_0_0\element_return($object, $return); 
  12.  

Defined (1)

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

/includes/skip/elements/element.php