admin only notes

Useful when multiple users manage the same website.

function adminnote($atts, $content = NULL){
	if(current_user_can('edit_themes') || is_user_logged_in()){
		return '
Admin Notice ' . $content . '
';
	}
}
add_shortcode('note', 'adminnote');
 Use [note]This will appear only to admins[note]