admin管理员组

文章数量:1323342

I am using this function to check for author name but I am looking to modify it to exclude an array of certain author IDs. Not sure about the easiest way to do this.

  function custom_author_block_render() {
    
      $author = wpgb_get_the_author();
    
      if ( empty( $author ) || 'author name' === $author ) {
        return;
      }
    }

本文标签: phpExclude multiple authors by IDIF condition