Skip to content

Commit

Permalink
Remove filter excerpt_more and keep default read-more text in excerpt (
Browse files Browse the repository at this point in the history
  • Loading branch information
albig committed Jul 15, 2024
1 parent 7dbfede commit 9ad15fc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions functions/excerpts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

0 comments on commit 9ad15fc

Please sign in to comment.