Small optimization tip
-
You can replace the function call in this code with:
add_filter( 'get_comment_author_link', function($author_link, $author){return $author;}, 10, 2);That way it just returns the Author name saving the strip tags function call.
The topic ‘Small optimization tip’ is closed to new replies.