catchresponsive_more_link

Replacing Continue Reading link to the_content more.

Description

catchresponsive_more_link( $more_link, $more_link_text ); 

function tied to the the_content_more_link filter hook.

Parameters (2)

0. $more_link
The more link.
1. $more_link_text
The more link text.

Usage

  1. if ( !function_exists( 'catchresponsive_more_link' ) ) { 
  2. require_once '/inc/catchresponsive-core.php'; 
  3.  
  4. // The more link. 
  5. $more_link = null; 
  6.  
  7. // The more link text. 
  8. $more_link_text = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = catchresponsive_more_link($more_link, $more_link_text); 
  12.  

Defined (1)

The function is defined in the following location(s).

/inc/catchresponsive-core.php  
  1. function catchresponsive_more_link( $more_link, $more_link_text ) { 
  2. $more_tag_text = $options['excerpt_more_text']; 
  3.  
  4. return str_replace( $more_link_text, $more_tag_text, $more_link );