This filter controls the queue sending process. To pause the queue sending, this filter has to return true. This filter is used by the plugin pause option available from the plugin Settings -> Pause panel.

This filter provides 1 argument.

Arguments

  • $pause: Return true to pause the queue sending. Default: false.

Example

Pause the queue sending.

add_filter('gdmaq_queue_paused', 'custom__gdmaq_queue_paused', 10, 1);
function custom__gdmaq_queue_paused($pause) {
  $pause = true;

  return $pause;
}

 

0
0
21
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply