coresocial_online_counts_queue_processor

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_online_counts_queue_processor" );
coreSocial 4.0 — core/basic/Plugin.php:216

Custom WP-Cron event scheduled when the plugin has queued online-count work. WordPress dispatches the action when the scheduled event runs; the scheduling call does not emit it immediately.

The plugin’s queue callback runs only when online count checks are enabled. Observing this hook does not guarantee that any network returned a count. It is separate from frontend internal click tracking.

Example

add_action( 'coresocial_online_counts_queue_processor', function () {
    error_log( 'coreSocial online-count queue event started.' );
}, 5 );
Rate this reference
0
0
2

You are not allowed to rate this post.

Leave a Comment

0
0
0
0
0
0
0
0
0