Add more authors to the ignore list

Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
This commit is contained in:
Chris Abraham 2025-02-20 08:47:19 +07:00
parent 573ee10251
commit 93ca027675
No known key found for this signature in database
GPG Key ID: 60A2BD1DA7D4B0F0
2 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ class Lf_Mu_Public {
return $author;
}
$authors_to_ignore = array( 'Jessie', 'Katie Meinders' );
$authors_to_ignore = array( 'Jessie', 'Katie Meinders', 'Libby Schulze', 'Valerie' );
if ( in_array( $display_name, $authors_to_ignore, false ) ) {
// return "CNCF" if the author is in the ignore list.
return 'CNCF';

View File

@ -203,7 +203,7 @@ class LF_Utils {
if ( ! $author ) {
// Authors we don't want to show a byline for.
$authors_to_ignore = array( 3049, 3047, 2910, 3051 );
$authors_to_ignore = array( 3049, 3047, 2910, 3051, 3102, 3299 );
$author_id = get_post_field( 'post_author', $the_post_id );
if ( in_array( $author_id, $authors_to_ignore, false ) ) {