gdmaq_queue_paused
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!
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; }