From 40c1ad047573bbcbafefe1f4431e71b329810ae0 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Fri, 18 Oct 2024 01:22:43 +0200 Subject: [PATCH] Add missing doc comment --- includes/functions/_helpers-templates.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/includes/functions/_helpers-templates.php b/includes/functions/_helpers-templates.php index 5e290900..3d6fc853 100644 --- a/includes/functions/_helpers-templates.php +++ b/includes/functions/_helpers-templates.php @@ -1259,10 +1259,15 @@ function fictioneer_get_chapter_micro_menu( $args ) { // GET SIMPLE CHAPTER LIST // ============================================================================= - - - - +/** + * Returns array with ordered chapter index list item HTML strings + * + * @since 5.25.0 + * + * @param int $story_id The story ID. + * + * @return array Ordered array of list item HTMl strings (starting at 1). + */ function fictioneer_get_chapter_index_array( $story_id ) { // Meta cache?