You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Jul 2, 2026
·
2 revisions
Filters the site.standard.document contributor list.
Return an array of contributor objects. Each contributor must
include a DID; optional role and displayName values are
sanitized and capped to the lexicon's 100-grapheme limit.
Return null or an empty array to omit the field.
Auto-generated Example
/** * Filters the site.standard.document contributor list. * * Return an array of contributor objects. Each contributor must * include a DID; optional role and displayName values are * sanitized and capped to the lexicon's 100-grapheme limit. * Return null or an empty array to omit the field. * * @param array $contributors * @param WP_Post $post * @return array The filtered value. */functionmy_atmosphere_document_contributors_callback( array$contributors = null, WP_Post$post ) {
// Your code here.returnnull;
}
add_filter( 'atmosphere_document_contributors', 'my_atmosphere_document_contributors_callback', 10, 2 );
Parameters
array|null$contributors Contributor list, or null to omit.