• Resolved amenwolf

    (@amenwolf)


    Let’s say we want the report to be 3pm – next day 3pm daily.
    Is there a better optimized way than, using the “since last run of this job” option?

    Either through settings or custom php.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hello

    you can just add this code to “Misc Settings” to override date filter values.
    thanks, Alex

    add_filter('woe_settings_validate_defaults', function($settings){
    $settings['from_date'] = date("Y-m-d 15:00:00",strtotime("-1 day"));
    $settings['to_date'] = current_time("Y-m-d 15:00:00");
    return $settings;
    });
    Thread Starter amenwolf

    (@amenwolf)

    Thank you for the fast reply.

    Plugin Author algol.plus

    (@algolplus)

    you’re welcome

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setting Time Range’ is closed to new replies.