Triggering GeoIP collection programmatically
-
Almost a year ago I asked how I can initiate the GEoIP download programmatically (https://ww.wp.xz.cn/support/topic/activating-geoip-collection-programmatically/#post-17752632). I was given the following, which worked:
\WP_STATISTICS\GeoIP::download('country', "update");Using this now gives me an error and tells me to use the following instead:
GeolocationFactory::downloadDatabase()Which I had assumed to be needed to be adapted in the same manner to:
\WP_STATISTICS\GeolocationFactory::downloadDatabase('country', "update");Alas, that only results in a fatal error. I feel it’s better to just ask again than to dig around myself. To be clear, I know why this has changed, I’m just not sure to what exactly.
The topic ‘Triggering GeoIP collection programmatically’ is closed to new replies.