gravityflowvacation_start_month

Use this filter to change the starting month for vacation calculations.

Parameter

$month
The month number

Example

This example sets 'August' as starting month for vacation calculation

add_filter( 'gravityflowvacation_start_month', 'sh_gravityflowvacation_start_month',10,2 );
function sh_gravityflowvacation_start_month( $month, $user_id ) {
     return '08';
}

Placement

This code should be placed in the functions.php file of your active theme.