프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$slug |
메소드 | 설명 | |
---|---|---|
__construct ( $sh ) | ||
adminCSS ( ) | ||
getInfo ( ) : array | Get array with information about this logger | |
getLogRowDetailsOutput ( $row ) | Get output for detailed log section | |
getLogRowPlainTextOutput ( $row ) | Modify plain output to inlcude link to post and link to comment | |
get_context_for_comment ( integer $comment_ID ) : mixed | Get comments context | |
loaded ( ) | ||
maybe_modify_log_query_sql_where ( string $where ) | Modify sql query to exclude comments of type spam | |
on_comment_post ( $comment_ID, $comment_approved ) | Fires immediately after a comment is inserted into the database. | |
on_delete_comment ( $comment_ID ) | ||
on_edit_comment ( $comment_ID ) | ||
on_untrashed_comment ( $comment_ID ) | ||
on_wp_set_comment_status ( $comment_ID, string | boolean $comment_status ) | Fires after a comment status has been updated in the database. |
public getLogRowDetailsOutput ( $row ) |
public getLogRowPlainTextOutput ( $row ) |
public get_context_for_comment ( integer $comment_ID ) : mixed | ||
$comment_ID | integer | |
리턴 | mixed | array with context if comment found, false if comment not found |
public maybe_modify_log_query_sql_where ( string $where ) | ||
$where | string | sql query where |
public on_comment_post ( $comment_ID, $comment_approved ) |
public on_wp_set_comment_status ( $comment_ID, string | boolean $comment_status ) | ||
$comment_status | string | boolean | The comment status. Possible values include 'hold', 'approve', 'spam', 'trash', or false. do_action( 'wp_set_comment_status', $comment_id, $comment_status ); |