ap_comment_delete_locked( integer $comment_id )
Description #
Check if comment delete is locked.
Parameters #
- $comment_idinteger (Required) Comment ID.
Source #
File: includes/comments.php
function ap_comment_delete_locked( $comment_id ) { $comment = get_comment( $comment_id ); $commment_time = mysql2date( 'U', $comment->comment_date_gmt ) + (int) ap_opt( 'disable_delete_after' ); return time() > $commment_time; }
Expand full source code Collapse full source code View on GitHub: includes/comments.php:325
Add your comment