comment_notification_subject

comment_notification_subject

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('comment_notification_subject') is found 1 times:

  • /wp-includes/pluggable.php line 1860
    1856
    1857
    1858
    1859
    1860
    1861
    1862
    1863
    1864
    1865
    1866
    *
     * @param string $subject    The comment notification email subject.
     * @param string $comment_id Comment ID as a numeric string.
     */
    $subject = apply_filters( 'comment_notification_subject', $subject, $comment->comment_ID );
     
    wp_mail( $email, wp_specialchars_decode( $subject ), $notify_message, $message_headers );
     
    if ( $switched_locale ) {
        restore_previous_locale();
    }