If function exists, and array is met, echo function?
The following function shows you some “best practice” example 😉 It includes error handling, checking for emtpy array values, parsing input args with defaults, cares about if you want to echo the result, etc. You even got a filter for your child themes defaults. 🙂 The function in your functions.php file: function wpse15886_check_cat( $args = … Read more