diff --git a/functions.php b/functions.php
index 76ed7c4..b994655 100644
--- a/functions.php
+++ b/functions.php
@@ -1,966 +1,1017 @@
.
-
/*
* Configuration helpers
*
* Shortcuts useful when you declare a configuration file.
*/
/**
* Define a constant if it does not exist
*
* @param string $name Constant name
* @param string $value Constant value
*/
function define_default( $name, $value ) {
defined( $name ) or define( $name, $value );
}
/*
* Template helpers
*
* Shortcuts useful when you build a page
*/
/**
* Print a ' checked="checked"' HTML attribute under some circumstances
*
* This is useful for the HTML tag.
*
* @param mixed $helper If this is the only arg, prints
* @param mixed $current If this matches $helper, print
* @param bool $force If this is true, print
*/
function _checked( $helper = PHP_INT_MAX, $current = PHP_INT_MAX, $force = false ) {
echo checked( $helper, $current, $force );
}
/**
* Print a ' selected="selected"' HTML attribute under some circumstances
*
* This is useful for the