Diviner

Function is_moderator_by_pids()

Definedmoderation.php:2545

is_moderator_by_pids($posts, $permission = '')

parametersarray$postsArray of post IDs
string$permissionPermission to check
returnwild

Checks if the current user is a moderator of all the posts specified

Note: If no posts are specified, this function will return true. It is the responsibility of the calling script to error-check this case if necessary.