wphooks.info - the_content_more_link

the_content_more_link

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/post-template.php:
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
			if ( ! empty( $more_link_text ) ) {

				/**
				 * Filters the Read More link text.
				 *
				 * @since 2.8.0
				 *
				 * @param string $more_link_element Read More link element.
				 * @param string $more_link_text    Read More text.
				 */
				$output .= apply_filters( 'the_content_more_link', ' <a href="' . get_permalink() . "#more-{$post->ID}\" class=\"more-link\">$more_link_text</a>", $more_link_text );
			}
			$output = force_balance_tags( $output );
		}
	}

	if ( $preview ) { // Preview fix for JavaScript bug with foreign languages.
		$output = preg_replace_callback( '/\%u([0-9A-F]{4})/', '_convert_urlencoded_to_entities', $output );
	}