apply_filters( 'comment_save_pre', string $comment_content )

Filters the comment content before it is updated in the database.


Parameters

$comment_content string
The comment data.

Top ↑

Source

File: wp-includes/comment.php. View all references

$data['comment_content'] = apply_filters( 'comment_save_pre', $data['comment_content'] );


Top ↑

Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.