the_archive_description( string $before = '', string $after = '' )
Display category, tag, term, or author description.
Description
See also
Parameters
- $before
-
(Optional) Content to prepend to the description.
Default value: ''
- $after
-
(Optional) Content to append to the description.
Default value: ''
Source
File: wp-includes/general-template.php
function the_archive_description( $before = '', $after = '' ) {
$description = get_the_archive_description();
if ( $description ) {
echo $before . $description . $after;
}
}
Changelog
Version | Description |
---|---|
WP-4.1.0 | Introduced. |