-
Notifications
You must be signed in to change notification settings - Fork 17
friends_override_author_name
Alex Kirk edited this page Jan 5, 2023
·
18 revisions
Allows overriding the authorname for a post. * * Example:
add_filter( 'friends_override_author_name', function( $override_author_name, $author_name, $post_id ) {
return get_post_meta( $post_id, 'author', true );
}
- string $override_author_name The author name to override with.
- string $author_name The author name.
- int $post_id The post ID.