comment_{$new_status}_{$comment->comment_type}

最后更新于:2021-11-26 04:00:47

do_action( “comment_{$new_status}_{$comment->comment_type}”, int $comment_ID, GC_Comment $comment )

Fires when the status of a specific comment type is in transition.

参数

$comment_ID

(int)
The comment ID.

$comment

(GC_Comment)
Comment object.

源文件

文件: gc-includes/comment.php

View on Trac