Uses
Uses | Description |
---|---|
wp-includes/general-template.php: get_the_archive_description() | Retrieves the description for an author, post type, or term archive. |
Display category, tag, term, or author description.
(string) (Optional) Content to prepend to the description.
Default value: ''
(string) (Optional) Content to append to the description.
Default value: ''
File: wp-includes/general-template.php
function the_archive_description( $before = '', $after = '' ) { $description = get_the_archive_description(); if ( $description ) { echo $before . $description . $after; } }
Version | Description |
---|---|
4.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_archive_description