Move is_element_empty function to utils

This commit is contained in:
Scott Walkinshaw
2012-09-19 14:57:14 -04:00
parent a54850cd44
commit b9cb9de4b9
2 changed files with 5 additions and 5 deletions

View File

@@ -63,3 +63,8 @@ function add_filters($tags, $function) {
add_filter($tag, $function);
}
}
function is_element_empty($element) {
$element = trim($element);
return empty($element) ? false : true;
}