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.document links union.
Return an array with a non-empty string $type field to add the links field. Return null or an empty array to omit it.
$type
links
/** * Filters the site.standard.document links union. * * Return an array with a non-empty string `$type` field to add * the `links` field. Return null or an empty array to omit it. * * @param array $links * @param WP_Post $post * @return array The filtered value. */ function my_atmosphere_document_links_callback( array $links = null, WP_Post $post ) { // Your code here. return null; } add_filter( 'atmosphere_document_links', 'my_atmosphere_document_links_callback', 10, 2 );
array|null
$links
WP_Post
$post
\apply_filters( 'atmosphere_document_links', null, $this->object )
← All Hooks