/** * Send an email with every visit. */ function wpse113069_email_me_every_visit() { $email="phil@philmorse.com"; wp_mail( $email, 'You had a visitor...' ); } add_action( 'wp', 'wpse113069_email_me_every_visit' );

Works in Progress

Go to Deck and Kitchen Project Page