Code snippets for client dashboard - WordPress functions.php