filters.php 258 B

12345678910111213141516
  1. <?php
  2. /**
  3. * Theme filters.
  4. */
  5. namespace App;
  6. /**
  7. * Add "… Continued" to the excerpt.
  8. *
  9. * @return string
  10. */
  11. add_filter('excerpt_more', function () {
  12. return sprintf(' &hellip; <a href="%s">%s</a>', get_permalink(), __('Continued', 'sage'));
  13. });