get_the_archive_description WordPress Filter Hook

The get_the_archive_description hook is a great way to display a description of your archive pages. This can be useful for providing context for your visitors and helping them understand what they are looking at.

apply_filters( 'get_the_archive_description', string $description ) #

Filters the archive description.


Parameters

$description

(string)Archive description to be displayed.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More