wp_get_current_commenter

wp_get_current_commenter

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_get_current_commenter') is found 1 times:

  • /wp-includes/comment.php line 1938
    	 *     @type string $comment_author_email The email address of the current commenter, or an empty string.
    	 *     @type string $comment_author_url   The URL address of the current commenter, or an empty string.
    	 * }
    	 */
    	return apply_filters( 'wp_get_current_commenter', compact( 'comment_author', 'comment_author_email', 'comment_author_url' ) );
    }
    
    /**
     * Gets unapproved comment author's email.
     *
     * Used to allow the commenter to see their pending comment.