Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gioni

    (@gioni)

    Hi!

    GEO IP features will be implemented soon and in a different way.

    • This reply was modified 3 months, 2 weeks ago by  Gioni.

    ok, but, it would be nice, if you provide similar functions like

    geoip_detect2_get_info_from_ip
    geoip_detect2_get_info_from_current_ip

    for developers. I using Mailster plugin for newsletter, which also using internal geoip from GeoIPOrg.dat and GeoIPv6.dat files. As you write, you will implemented on your way. So if you dont support functions for developers, for me it would be three loads (Mailster, GEOIP detect, Cerber ) GEOIP dat (Maxmind db), which I believe it would be heavy use for memory. If you dont provide public functions for developer, it would be nice some apply_filters, which I can use for overide, for example

    
    add_filter( 'cerber_geoip_detect2_get_info_from_ip', 'myweb_geoip_detect2_get_info_from_ip', 10, 1);
    function myweb_geoip_detect2_get_info_from_ip( ip ) {
        if ( function_exist( 'geoip_detect2_get_info_from_ip' ) )
            return geoip_detect2_get_info_from_ip( $ip );
    
        return $ip;
    }
    
    • This reply was modified 2 months, 4 weeks ago by  Hrohh.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.