$debug_tags = array();
add_action( 'all', function ( $tag ) {
global $debug_tags;
if ( in_array( $tag, $debug_tags ) ) {
return;
}
echo "<!-- action: " . $tag . " -->";
$debug_tags[] = $tag;
} );
$returnHtml = "<div class='form-group field-users-created_at required'>";
for($i = 0; $i < count($items); $i++){
$returnHtml .= Html::beginTag('label', $labelOptions).$items[$i].Html::Tag('input','',$options)."<span></span>".Html::endTag('label');
}
$returnHtml .= "<span class='help-block'></span></div>";
return $returnHtml;