Title: Modify core function.
Last modified: August 31, 2016

---

# Modify core function.

 *  [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/modify-core-function/)
 * I want to change the link-hover text for a post author in the post meta.
 * The core code is…
 *     ```
       function get_the_author_link() {
       	if ( get_the_author_meta('url') ) {
       		return '<a href="' . esc_url( get_the_author_meta('url') ) . '" title="' . esc_attr( sprintf(__("Visit %s’s website"), get_the_author()) ) . '" rel="author external">' . get_the_author() . '</a>';
       	} else {
       		return get_the_author();
       	}
       }
       ```
   
 * I want to change the ‘Visit… website’ text.
 * UPDATE…
 * I can do it a different way, by replacing <?php the_author_link(); ?> in the 
   post meta with this:
 *     ```
       <?php echo '<a href="' . get_the_author_meta('url') . '" title="info about this author" rel="external">' . get_the_author() . '</a>';?>
       ```
   

The topic ‘Modify core function.’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [gulliver](https://wordpress.org/support/users/gulliver/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/modify-core-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
