WPRuby Address Checks for WooCommerce 1.0.2 has 0 actions and 14 filters, read directly from its source code on Nov 19, 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.
// Change a value WPRuby Address Checks for WooCommerce is about to use
add_filter( 'wpruby_address_checks_default_settings', function( $defaults ) {
// Change $defaults here.
return $defaults;
}, 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
-
/** * Filter the default plugin settings before they are merged with stored * values. */ apply_filters( 'wpruby_address_checks_default_settings', $defaults ); -
/** * Filter whether a state should appear in formatted address summaries. */ apply_filters( 'wpruby_address_checks_display_state_in_summary', true, $country, $state ); -
/** * Filter the Google API key used for Places requests. */ apply_filters( 'wpruby_address_checks_google_api_key', $this->api_key ); -
/** * Filter the Google Places autocomplete request body. */ apply_filters( 'wpruby_address_checks_google_autocomplete_request', $body ); -
/** * Filter the Google Places autocomplete response. */ apply_filters( 'wpruby_address_checks_google_autocomplete_response', $response, $body ); -
/** * Filter the Place Details request URL before it is sent. */ apply_filters( 'wpruby_address_checks_google_details_request', $url, $place_id ); -
/** * Filter the Google Place Details response. */ apply_filters( 'wpruby_address_checks_google_details_response', $response, $place_id ); -
/** * Filter missing house number detection patterns. */ apply_filters( 'wpruby_address_checks_missing_house_number_patterns', $patterns, $country ); -
/** * Filter parcel locker detection patterns. */ apply_filters( 'wpruby_address_checks_parcel_locker_patterns', $patterns, $country ); -
/** * Filter PO box detection patterns. */ apply_filters( 'wpruby_address_checks_po_box_patterns', $patterns, $country ); -
/** * Filter provider state mapping before returning the fallback value. */ apply_filters( 'wpruby_address_checks_provider_state_mapping', $normalized, $country, $provider_state, $states ); -
/** * Filter the formatted street address line. */ apply_filters( 'wpruby_address_checks_street_line_format', $format, $country, $components ); -
/** * Filter whether the street number should appear before the route. */ apply_filters( 'wpruby_address_checks_street_number_first', true, $country ); -
/** * Filter the validation result before local checks run. */ apply_filters( 'wpruby_address_checks_validate_address', null, $address, $type, $context, $this->settings );
Generated from WPRuby Address Checks for WooCommerce'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: