Beispiel #1
0
/**
 * @since      0.7.0
 * @deprecated 2.0.0
 */
function apply_atomic($tag = '', $value = '')
{
    _deprecated_function(__FUNCTION__, '2.0.0', 'hybrid_apply_atomic');
    return hybrid_apply_atomic($tag, $value);
}
Beispiel #2
0
/**
 * Wraps the output of hybrid_apply_atomic() in a call to do_shortcode(). This allows developers to use 
 * context-aware functionality alongside shortcodes. Rather than adding a lot of code to the 
 * function itself, developers can create individual functions to handle shortcodes.
 *
 * @since  2.0.0
 * @access public
 * @param  string $tag   Usually the location of the hook but defines what the base hook is.
 * @param  mixed  $value The value to be filtered.
 * @return mixed  $value The value after it has been filtered.
 */
function hybrid_apply_atomic_shortcode($tag = '', $value = '')
{
    return do_shortcode(hybrid_apply_atomic($tag, $value));
}