Skip to content

Commit

Permalink
Show distributed author name via get_the_author_meta().
Browse files Browse the repository at this point in the history
Distributed author name should return when using get_the_author_meta('display_name').
  • Loading branch information
peterwilsoncc committed Dec 13, 2022
1 parent 8a910b1 commit c8450e4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
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 c8450e4

Please sign in to comment.