How to check if user is administrator or editor in WordPress

Tags: , |

WordPress has a build in function to check if the current logged-in user is whether administrator, editor or any other [...]