get_the_archive_description filter-hookWP 4.1.0

Filters the archive description.

Usage

add_filter( 'get_the_archive_description', 'wp_kama_get_the_archive_description_filter' );

/**
 * Function for `get_the_archive_description` filter-hook.
 * 
 * @param string $description Archive description to be displayed.
 *
 * @return string
 */
function wp_kama_get_the_archive_description_filter( $description ){

	// filter...
	return $description;
}
$description(string)
Archive description to be displayed.

Changelog

Since 4.1.0 Introduced.

Where the hook is called

get_the_archive_description()
get_the_archive_description
wp-includes/general-template.php 1851
return apply_filters( 'get_the_archive_description', $description );

Where the hook is used in WordPress

Usage not found.