From 9ad15fca917503b6ba18f3faa8a31ed46bab7928 Mon Sep 17 00:00:00 2001 From: Alexander Bigga Date: Mon, 15 Jul 2024 19:25:48 +0200 Subject: [PATCH] Remove filter excerpt_more and keep default read-more text in excerpt (#662) --- functions/excerpts.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/functions/excerpts.php b/functions/excerpts.php index a0536713..6403989e 100644 --- a/functions/excerpts.php +++ b/functions/excerpts.php @@ -13,12 +13,3 @@ function sunflower_excerpt_length() { } add_filter( 'excerpt_length', 'sunflower_excerpt_length', 900 ); - -/** - * Change read_more link text. - */ -function sunflower_read_more_link() { - return '…'; -} - -add_filter( 'excerpt_more', 'sunflower_read_more_link', 910 );