the_content_more_link filter-hookWP 2.8.0

Filters the Read More link text.

Usage

add_filter( 'the_content_more_link', 'wp_kama_the_content_more_link_filter', 10, 2 );

/**
 * Function for `the_content_more_link` filter-hook.
 * 
 * @param string $more_link_element Read More link element.
 * @param string $more_link_text    Read More text.
 *
 * @return string
 */
function wp_kama_the_content_more_link_filter( $more_link_element, $more_link_text ){

	// filter...
	return $more_link_element;
}
$more_link_element(string)
Read More link element.
$more_link_text(string)
Read More text.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

get_the_content()
the_content_more_link
wp-includes/post-template.php 371
$output .= apply_filters( 'the_content_more_link', ' <a href="' . get_permalink( $_post ) . "#more-{$_post->ID}\" class=\"more-link\">$more_link_text</a>", $more_link_text );

Where the hook is used in WordPress

Usage not found.