original_string: public function easyReadingContent($content)
  	{
  		global $post;
  
  		if (isset($_GET['readable']) && $_GET['readable'] == '1' && get_field('easy_reading_select') == true && is_object($post) && isset($post->post_content) && in_the_loop() && is_main_query()) {
  			$post_content = $post->post_content;
  			if (strpos($post_content,  '<!--more-->') !== false) {
  				$content_parts = explode('<!--more-->', $post_content);
  				$post_content  = $content_parts[1];
  			}
  			$post_content 	   = preg_replace('/[^a-z]/i', '', sanitize_text_field($post_content));
  			$sanitized_content = preg_replace('/[^a-z]/i', '', sanitize_text_field($content));
  
  			if ($post_content == $sanitized_content) {
  				$content = get_field('easy_reading_content');
  				if (strpos($content,  '<!--more-->') !== false) {
  					$content_parts = explode('<!--more-->', $content);
  					$content = '<p class="lead">' . sanitize_text_field($content_parts[0]) . '</p>' . $content_parts[1];
  				}
  			}
  		}
  
  		return $content;
  	}
code: public function easyReadingContent($content)
  	{
  		global $post;
  
  		if (isset($_GET['readable']) && $_GET['readable'] == '1' && get_field('easy_reading_select') == true && is_object($post) && isset($post->post_content) && in_the_loop() && is_main_query()) {
  			$post_content = $post->post_content;
  			if (strpos($post_content,  '<!--more-->') !== false) {
  				$content_parts = explode('<!--more-->', $post_content);
  				$post_content  = $content_parts[1];
  			}
  			$post_content 	   = preg_replace('/[^a-z]/i', '', sanitize_text_field($post_content));
  			$sanitized_content = preg_replace('/[^a-z]/i', '', sanitize_text_field($content));
  
  			if ($post_content == $sanitized_content) {
  				$content = get_field('easy_reading_content');
  				if (strpos($content,  '<!--more-->') !== false) {
  					$content_parts = explode('<!--more-->', $content);
  					$content = '<p class="lead">' . sanitize_text_field($content_parts[0]) . '</p>' . $content_parts[1];
  				}
  			}
  		}
  
  		return $content;
  	}
code_tokens: public function easyReadingContent ( $ content ) { global $ post ; if ( isset ( $ _GET [ 'readable' ] ) && $ _GET [ 'readable' ] == '1' && get_field ( 'easy_reading_select' ) == true && is_object ( $ post ) && isset ( $ post -> post_content ) && in_the_loop ( ) && is_main_query ( ) ) { $ post_content = $ post -> post_content ; if ( strpos ( $ post_content , '<!--more-->' ) !== false ) { $ content_parts = explode ( '<!--more-->' , $ post_content ) ; $ post_content = $ content_parts [ 1 ] ; } $ post_content = preg_replace ( '/[^a-z]/i' , '' , sanitize_text_field ( $ post_content ) ) ; $ sanitized_content = preg_replace ( '/[^a-z]/i' , '' , sanitize_text_field ( $ content ) ) ; if ( $ post_content == $ sanitized_content ) { $ content = get_field ( 'easy_reading_content' ) ; if ( strpos ( $ content , '<!--more-->' ) !== false ) { $ content_parts = explode ( '<!--more-->' , $ content ) ; $ content = '<p class="lead">' . sanitize_text_field ( $ content_parts [ 0 ] ) . '</p>' . $ content_parts [ 1 ] ; } } } return $ content ; }
docstring: Switch content to alternate version
  @param  string $content Default content
  @return string       Modified content
docstring_tokens: Switch content to alternate version