function is_subscriber(){global$current_user;
return$current_user->caps['subscriber'];
}
public snippets
This is a community-maintained collection of reusable code snippets. Contribute something without logging in, or improve existing contributions. All code is dedicated to the public domain unless otherwise specified.