getOption( 'html', '' ); // if the data options is a valid callback for an object method if ( ( is_array( $html ) && count( $html ) == 2 && gettype( $html[0] ) == 'object' ) || function_exists( $html ) ) { call_user_func( $html, $this ); return; } // if the data options is an array of values echo $html; } } }