27 lines
609 B
PHP
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);
|
|
}
|
|
|
|
|
|
} |