sequra_migration_to

Hook Filter

Set an ending time to run database migrations

Description

This filter allows overriding the ending time (hour value) to run database migrations.

Parameters

ParameterTypeDescription
$hourintThe hour of the day from 0 to 23

Changelog

VersionDescription
3.2.0Introduced

Usage Example

add_filter('sequra_migration_to', function( $hour ){
 return 6; // Set the time to 6AM.
});