get_comment_author_url_link
Filter HookDescription
Filters the comment author's returned URL link.Hook Information
File Location |
wp-includes/comment-template.php
View on GitHub
|
Hook Type | Filter |
Line Number | 457 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$comment_author_url_link
|
The HTML-formatted comment author URL link. |
Usage Examples
Basic Usage
<?php
// Hook into get_comment_author_url_link
add_filter('get_comment_author_url_link', 'my_custom_filter', 10, 1);
function my_custom_filter($comment_author_url_link) {
// Your custom filtering logic here
return $comment_author_url_link;
}
Source Code Context
wp-includes/comment-template.php:457
- How this hook is used in WordPress core
<?php
452 *
453 * @since 1.5.0
454 *
455 * @param string $comment_author_url_link The HTML-formatted comment author URL link.
456 */
457 return apply_filters( 'get_comment_author_url_link', $comment_author_url_link );
458 }
459
460 /**
461 * Displays the HTML link of the URL of the author of the current comment.
462 *
PHP Documentation
<?php
/**
* Filters the comment author's returned URL link.
*
* @since 1.5.0
*
* @param string $comment_author_url_link The HTML-formatted comment author URL link.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-includes/comment-template.php
Related Hooks
Related hooks will be displayed here in future updates.