We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Filters the site.standard.publication self-labels object.
Return a com.atproto.label.defs#selfLabels object to add content-warning labels. Return null or an empty array to omit it.
/** * Filters the site.standard.publication self-labels object. * * Return a com.atproto.label.defs#selfLabels object to add * content-warning labels. Return null or an empty array to omit it. * * @param array $labels * @return array The filtered value. */ function my_atmosphere_publication_labels_callback( array $labels = null ) { // Your code here. return null; } add_filter( 'atmosphere_publication_labels', 'my_atmosphere_publication_labels_callback' );
array|null
$labels
\apply_filters( 'atmosphere_publication_labels', null )
← All Hooks