diff --git a/FILTERS.md b/FILTERS.md index fbdb5a06..d9326162 100644 --- a/FILTERS.md +++ b/FILTERS.md @@ -70,7 +70,7 @@ Filters the array of allowed orderby arguments for WP_Query. --- -### `apply_filters( 'fictioneer_filter_article_card_footer', $footer_items, $posts )` +### `apply_filters( 'fictioneer_filter_shortcode_article_card_footer', $footer_items, $posts )` Filters the intermediate output array in the `_article-cards.php` partial before it is imploded and rendered. Contains statistics with icons such as the author, publishing or modified date, and comments. **$footer_items:** diff --git a/partials/_article-cards.php b/partials/_article-cards.php index 16fae8d6..0db0c7b8 100644 --- a/partials/_article-cards.php +++ b/partials/_article-cards.php @@ -257,7 +257,7 @@ $pag_args = array( $footer_items['comments'] = ' ' . get_comments_number( $post ) . ''; // Filter footer items - $footer_items = apply_filters( 'fictioneer_filter_article_card_footer', $footer_items, $post ); + $footer_items = apply_filters( 'fictioneer_filter_shortcode_article_card_footer', $footer_items, $post ); // Implode and render footer items echo implode( ' ', $footer_items );