Sandwich Coding Standards

What happen if the user don’t have capability to eat sandwich? WSOF? If I’d want to follow average default themes templates, I’d go for // eat-sandwich.php (as @Rarst said avoid wp-lunch.php as it’s not part of WP core) get_header( ‘sandwich’ ); if ( current_user_can( ‘eat_sandwich’ ) ) { get_template_part( ‘eat-sandwich’, ‘content’ ); } else { … Read more