coresocial_ajax_process_request_start
Developer Knowledge Level
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
PHP
Definition
do_action( "coresocial_ajax_process_request_start", $request );
coreSocial 4.0 — core/basic/AJAX.php:91
Arguments
Name
Type
Description
$request
stdClass
Decoded request with action and uid present; full tracking validation has not yet run.
Fires only when the live-handler filter returns strict false and the request has action and uid properties. It runs before dispatching the requested action.
This is a pre-dispatch observation point, not proof that a share, Like, or AI exploration was accepted or recorded. Do not count successful events from this hook.
Example
add_action( 'coresocial_ajax_process_request_start', function ( $request ) {
error_log( 'coreSocial tracking request received.' );
} );