No results found on the city dropdown
-
I added the code below but still, the city drop-down is empty
add_filter( ‘wcfmmp_city_select_dropdown_enabled’, ‘__return_true’ );
add_filter( ‘wc_city_select_cities’, ‘my_cities’ );
function my_cities( $cities ) {
$cities[‘zw’] = array(
‘Harare’,
‘Chitungwiza’,
‘Norton’,
‘Kadoma’,
‘Chegutu’,
‘Kwekwe’,
‘Gweru’,
‘Bulawayo’,
‘Mutare’,
‘Epworth’,
‘Chinhoyi’,
‘Marondera’,
‘Ruwa’,
‘Zvishavane’,
‘Bindura’
);
return $cities;
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘No results found on the city dropdown’ is closed to new replies.