Skip to content

Instantly share code, notes, and snippets.

View cwulff's full-sized avatar

Rev. Christopher Wulff cwulff

  • Vancouver, BC
View GitHub Profile
@dragunoff
dragunoff / simple-password-lockdown-wp.php
Created January 27, 2012 08:13
[WP] Block site from non-logged in users
<?php
/**
* Plugin name: Simple Password lockdown
* Plugin URI: https://gist.github.com/1687747
* Description: Block site from non-logged in users
*/
add_action('get_header', 'wpq_member_only_site');
function wpq_member_only_site() {