Files
PartnerExpo-Core/includes/mc-integrations/com-form.php
2026-03-16 13:14:45 +01:00

27 lines
609 B
PHP

<?php
/**
* Sends in the data from the comment form to MiniCRM
*
* @link https://github.com/Duskell
* @since 1.1.11
*
* @package Partnerexpo_Core
* @subpackage Partnerexpo_Core/includes/mc-integrations
*/
if ( ! defined( 'WPINC' ) ) {
die;
}
class Partnerexpo_Core_Integration_Comment_Form {
public static function queue_up($comment_id, $comment_approved, $commentdata) {
as_schedule_single_action( time() + 60, 'process_comment_data', [ $comment_id ] );
}
public static function run_process($comment_id) {
Logger::log('data', $comment_id);
}
}