Month: October 2013

  • Temporarily add WordPress actions and filters

    Quite regularly I need to use a WordPress filter or action for one little snippit of code and return it back to normal. I’ve done this with anonymous functions. It’s a quick and nifty way to get things done without writing things unnecessarily to the global scope. <?php function theExcerpt($length = 55, $more_text = ‘…’) […]