WPPaste WordPress Functions index
Page 38

Welcome to the WPPaste WordPress Function index. This page contains a an alphabetically sorted list of functions that are available for use in WordPress. Each function has a brief description of what it does and how it can be used. To find out more about a particular function, simply click on the function name.

auth_redirect()

Checks if a user is logged in, if not it redirects them to the login page.

author_can()

Returns whether the author of the supplied post has the specified capability.