Function Reference: test_create_dummy_posts

Summary

This function has not been documented yet.

Source Code

function test_create_dummy_posts($max = 10) {

	$i = 2;
	while($i <= $max) {
		global $dummy_post_index, $city_bound_lat1, $city_bound_lng1, $city_bound_lat2, $city_bound_lng2;

		$dummy_post_index = $i;
		$city_bound_lat1 = 40.4960439;
		$city_bound_lng1 = -74.2557349;
		$city_bound_lat2 = 40.91525559999999;
		$city_bound_lng2 = -73.7002721;

		include ABSPATH . 'wp-content/plugins/geodirectory/geodirectory-admin/place_dummy_post.php';
		$i++;
	}
}