A function that returns true when the Author is a certain role is_author(admin)? June 8, 2022 by Tarik Billa author_can() seems to fit. Example: if( author_can( get_the_ID(), 'administrator' ) )