From 9689976129518f73287d293ccee8c9fcf3f7d49a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 12 Dec 2015 15:51:57 +0000 Subject: [PATCH] Docs: Document optional parameters in `get_archives_link()`. Props kiranpotphode. Fixes #34856. git-svn-id: https://develop.svn.wordpress.org/trunk@35886 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index f554e1fdc5..dbc70530bf 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -1467,8 +1467,8 @@ function get_the_archive_description() { * @param string $url URL to archive. * @param string $text Archive text description. * @param string $format Optional, default is 'html'. Can be 'link', 'option', 'html', or custom. - * @param string $before Optional. - * @param string $after Optional. + * @param string $before Optional. Content to prepend to the description. Default empty. + * @param string $after Optional. Content to append to the description. Default empty. * @return string HTML link content for archive. */ function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') {