generate_excerpt_more_output

The generate_excerpt_more_output filter allows you to change the HTML markup of your read more link inside your blog post excerpts.

Default:

sprintf(
       ' ... <a title="%1$s" class="read-more" href="%2$s" aria-label="%4$s">%3$s</a>',
       the_title_attribute( 'echo=0' ),
       esc_url( get_permalink( get_the_ID() ) ),
       __( 'Read more', 'generatepress' ),
       sprintf(
	       /* translators: Aria-label describing the read more button */
	       _x( 'More on %s', 'more on post title', 'generatepress' ),
	       the_title_attribute( 'echo=0' )
       )
)

Please see the reference here.

Usage

Please refer to the Using Filters article to learn how to use this filter.