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
This commit is contained in:
Sergey Biryukov 2015-12-12 15:51:57 +00:00
parent 4e58589669
commit 9689976129

View File

@ -1467,8 +1467,8 @@ function get_the_archive_description() {
* @param string $url URL to archive. * @param string $url URL to archive.
* @param string $text Archive text description. * @param string $text Archive text description.
* @param string $format Optional, default is 'html'. Can be 'link', 'option', 'html', or custom. * @param string $format Optional, default is 'html'. Can be 'link', 'option', 'html', or custom.
* @param string $before Optional. * @param string $before Optional. Content to prepend to the description. Default empty.
* @param string $after Optional. * @param string $after Optional. Content to append to the description. Default empty.
* @return string HTML link content for archive. * @return string HTML link content for archive.
*/ */
function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') { function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') {