Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gioni

    (@gioni)

    Hi!

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

    • This reply was modified 7 years, 3 months ago by gioni.
    Thread Starter Hrohh

    (@hrohh)

    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 7 years, 2 months ago by Hrohh.
    Plugin Author gioni

    (@gioni)

    It’s implemented in the PRO version in a different way: https://wpcerber.com/pro/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘geoip’ is closed to new replies.