Skip to content

Commit

Permalink
Merge pull request #984 from 10up/fix/888-author-display-override
Browse files Browse the repository at this point in the history
Show distributed author name via get_the_author_meta().
  • Loading branch information
peterwilsoncc committed Dec 14, 2022
2 parents 8a910b1 + c8450e4 commit b7cb8b8
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -926,6 +926,7 @@ public static function canonicalize_front_end() {
add_filter( 'wpseo_canonical', array( '\Distributor\InternalConnections\NetworkSiteConnection', 'wpseo_canonical_url' ) );
add_filter( 'wpseo_opengraph_url', array( '\Distributor\InternalConnections\NetworkSiteConnection', 'wpseo_og_url' ) );
add_filter( 'the_author', array( '\Distributor\InternalConnections\NetworkSiteConnection', 'the_author_distributed' ) );
add_filter( 'get_the_author_display_name', array( '\Distributor\InternalConnections\NetworkSiteConnection', 'the_author_distributed' ) );
add_filter( 'author_link', array( '\Distributor\InternalConnections\NetworkSiteConnection', 'author_posts_url_distributed' ), 10, 3 );
}

Expand Down

0 comments on commit b7cb8b8

Please sign in to comment.