um_cron_disable

Hook type

Filter

Description

Make UM Cron Actions Enabled or Disabled

Parameters

$cron_disable

(bool) Disable UM Cron?

Usage

add_filter( 'um_cron_disable', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_cron_disable', 'my_cron_disable', 10, 1 );
function my_predefined_field( $cron_disable ) {
    // your code here
return $cron_disable;
}
?>

Change Log

Since: 2.0

Source

um_cron_disable is located in includes/core/class-cron.php::line 39