Advanced GeoIP Redirect 2.1.5 has 4 actions and 4 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Advanced GeoIP Redirect fires an action
add_action( 'adv_geoip_redirect_settings_updated', function( $arg1, $arg2, $updated ) {
// Your code runs here.
}, 10, 3 );
// Change a value Advanced GeoIP Redirect is about to use
add_filter( 'adv_geoip_redirect_countries', function( $countries ) {
// Change $countries here.
return $countries;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Fires after the plugin options have been updated. */ do_action( 'adv_geoip_redirect_settings_updated', self::$option_name, self::$default_settings, $updated ); -
/** * Executes an action hook after the metaboxes are rendered on the Advanced * GeoIP Redirect settings page. */ do_action( 'adv_geoip_redirect_admin_after_metaboxes' ); -
/** * Executes an action hook before the metaboxes are rendered on the Advanced * GeoIP Redirect settings page. */ do_action( 'adv_geoip_redirect_admin_before_metaboxes' ); -
/** * Renders the admin settings list for the Advanced GeoIP Redirect plugin. */ do_action( 'adv_geoip_redirect_admin_settings_list' ); -
/** * Filters the list of countries. */ apply_filters( 'adv_geoip_redirect_countries', $countries ); -
/** * Filters whether the Advanced GeoIP Redirect functionality is enabled. */ apply_filters( 'adv_geoip_redirect_enabled', true ); -
/** * Filter the option fields. */ apply_filters( 'adv_geoip_redirect_option_fields', self::$option_fields );
Generated from Advanced GeoIP Redirect's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: