mc_convert_locations_select_to_autocomplete - joedolson/my-calendar GitHub Wiki

Filter the number of locations required to trigger a switch between a select input and an autocomplete.

Auto-generated Example

add_filter(
   'mc_convert_locations_select_to_autocomplete',
    function( int $count ) {
        // Your code here.
        return $count;
    }
);

Parameters

  • int $count Number of locations that will remain a select. Default 90.

Returns

int

Files

apply_filters( 'mc_convert_locations_select_to_autocomplete', 90 )
apply_filters( 'mc_convert_locations_select_to_autocomplete', 90 )

← All Hooks