Thursday, January 22, 2015

How to check if a WordPress user is logged in

A handy PHP code snippet which detect whether the visitor is logged in or not in WordPress.


No comments:

Post a Comment