Filter: bricks/get_template_authors
Filters the list of authors displayed in the Bricks template manager. This allows you to customize which authors are selectable when filtering templates.
Parameters
Section titled “Parameters”$authors(array): Array of author display names.
Example usage
Section titled “Example usage”add_filter( 'bricks/get_template_authors', function( $authors ) { // Example: Remove 'admin' from the authors list if ( ( $key = array_search( 'admin', $authors ) ) !== false ) { unset( $authors[ $key ] ); }
return $authors;} );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.