Sha256: 58447089f7f4937345970e187e9e530ad6c011842217bbf058224950faa7ce2e

Contents?: true

Size: 253 Bytes

Versions: 3

Compression:

Stored size: 253 Bytes

Contents

<?php
/**
 * Utility functions
 */
function add_filters($tags, $function) {
  foreach($tags as $tag) {
    add_filter($tag, $function);
  }
}

function is_element_empty($element) {
  $element = trim($element);
  return empty($element) ? false : true;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stump-cli-0.1.3 lib/wp/wp-content/themes/stump/lib/utils.php
stump-cli-0.1.2 lib/wp/wp-content/themes/stump/lib/utils.php
stump-cli-0.1.1 lib/wp/wp-content/themes/stump/lib/utils.php