Open Ritesh-patel opened 11 months ago
This PR adds a filter coAuthors.author.label.formatted which allows developers to change author label in the Author's panel in editor. With this new filter, more author data can be shown while selecting the author.
coAuthors.author.label.formatted
Filter usage:
import { addFilter } from '@wordpress/hooks'; addFilter( 'coAuthors.author.label.formatted', 'coauthors/format-author-label', (label, author) => { return `${ author.displayName } | ${ author.email } | ${ author.userNicename }`; }, );
Are there any new dependencies added that should be taken into account when deploying to WordPress.org?
Outline the steps to test and verify the PR here.
Description
This PR adds a filter
coAuthors.author.label.formatted
which allows developers to change author label in the Author's panel in editor. With this new filter, more author data can be shown while selecting the author.Filter usage:
Deploy Notes
Are there any new dependencies added that should be taken into account when deploying to WordPress.org?
Steps to Test
Outline the steps to test and verify the PR here.