Adding a class to WordPress sub menus

Sometimes it’s a nice visual cue to differentiate Wordpress menu items with children from those without. This function below will add the class has-sub-menu to every Wordpress menu item with a submenu, and allow you to style it as you see fit!

WordPress Scheduled Tasks

Wordpress has a powerful and surprisingly simple way to schedule tasks. You can use these scheduled tasks to perform maintenance on your site, member management, event management, or any timely functionality you may need.