VaultPress::commentmeta_insert_handler PHP Method

commentmeta_insert_handler() public method

Handle Notifying VaultPress of Commentmeta Changes
public commentmeta_insert_handler ( $meta_id, $comment_id = null )
    function commentmeta_insert_handler($meta_id, $comment_id = null)
    {
        if (empty($comment_id) || wp_get_comment_status($comment_id) != 'spam') {
            $this->add_ping('db', array('commentmeta' => $meta_id));
        }
    }
VaultPress