Polanger Dating for WordPress 1.2 has 45 actions and 46 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.
// Run your own code when Polanger Dating for WordPress fires an action
add_action( 'polanger_dating_addon_registered', function( $id, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value Polanger Dating for WordPress is about to use
add_filter( 'polanger_dating_moderation_profiles_where', function( $where, $filters, $t, $plugin ) {
// Change $where here.
return $where;
}, 10, 4 );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 when an addon is registered. */ do_action( 'polanger_dating_addon_registered', $id, $this->addons[ $id ] ); -
/** * Addons may add guarded profile predicates for their registered filters. */ apply_filters( 'polanger_dating_moderation_profiles_where', $where, $filters, $t, $this->plugin ); -
/** * Addons may append presentation-ready moderation counts. They must not * replace or reinterpret the core profile and queue counters above. */ apply_filters( 'polanger_dating_moderation_summary', $result, $this->plugin ); -
/** * Lets active extensions register safe, named advertisement locations. * Extensions render their own placeholders; advertising remains optional. */ do_action( 'polanger_dating_register_ad_placements', $this->ad_placements(), $this ); -
/** * Fires after core services are ready and before addons register behavior. */ do_action( 'polanger_dating_register_addons', $this->addons() ); -
/** * Allows addons to register new interaction types. */ do_action( 'polanger_dating_register_interaction_types', $this ); -
/** * Allows addons to register additional profile fields. */ do_action( 'polanger_dating_register_profile_fields', $this ); -
/** * Allows design addons to replace a template path. */ apply_filters( 'polanger_dating_template_path', $path, $template ); -
/** * Signals that Core owns the generic WooCommerce frontend surface. Commerce * addons should continue to own product/order policy only. */ do_action( 'polanger_dating_woocommerce_integration_ready', $this ); -
do_action( 'woocommerce_after_main_content' ); -
do_action( 'polanger_dating_free_membership_rights_updated', $new_free, $old_free, $conflict_action ); -
apply_filters( 'polanger_dating_has_paid_package_provider', false ); -
do_action( 'polanger_dating_profile_photo_changed', absint( $user_id ), absint( $photo_id ), 'primary' ); -
apply_filters( 'polanger_dating_validate_free_membership_rights_update', true, $new_free, $old_free, $conflict_action ); -
do_action( 'woocommerce_before_main_content' ); -
apply_filters( 'illegal_user_logins', array() ); -
do_action( 'login_form' ); -
apply_filters( 'login_redirect', $next, $requested, $user ); -
apply_filters( 'logout_redirect', $next, $requested, $user ); -
do_action( 'lostpassword_form' ); -
apply_filters( 'polanger_dating_addon_links', array(), $addon ); -
do_action( 'polanger_dating_before_platform_screen', $polanger_dating_screen, polanger_dating() ); -
apply_filters( 'polanger_dating_can_interact', $allowed, $actor_user_id, $target_user_id, $interaction ); -
apply_filters( 'polanger_dating_can_view_photo', $allowed, absint( $viewer_id ), $photo ); -
apply_filters( 'polanger_dating_can_view_profile', $allowed, $viewer_id, $profile ); -
apply_filters( 'polanger_dating_client_i18n_strings', $strings ); -
do_action( 'polanger_dating_core_booted', $this ); -
do_action( 'polanger_dating_core_loaded', $this ); -
apply_filters( 'polanger_dating_dashboard_quick_actions', array( array( 'label'=>__( 'Moderation', 'polanger-dating-system' ), 'url'=>admin_url( 'admin.php?page=polanger-dating-moderation' ), 'icon'=>'shield' ), array( 'label'=>__( 'Settings', 'polanger-dating-system' ), 'url'=>admin_url( 'admin.php?page=polanger-dating-settings' ), 'icon'=>'admin-settings' ), array( 'label'=>__( 'Addons', 'polanger-dating-system' ), 'url'=>admin_url( 'admin.php?page=... ); -
apply_filters( 'polanger_dating_discovery_query_args', $a, absint( $a['user_id'] ) ); -
apply_filters( 'polanger_dating_entitlement_definitions', $definitions, $this->plugin ); -
apply_filters( 'polanger_dating_entitlement_value', $resolved, $user, $feature, $base, $definition ); -
do_action( 'polanger_dating_entitlements_changed', $user ); -
apply_filters( 'polanger_dating_erasure_batch_complete', true, $user ); -
apply_filters( 'polanger_dating_export_page', array( 'data' => $items, 'done' => $done ), (int) $user->ID, max( 1, (int) $page ) ); -
do_action( 'polanger_dating_free_membership_settings_after', $features ); -
apply_filters( 'polanger_dating_frontend_routes', $routes ); -
do_action( "polanger_dating_interaction_{$type}_created", $id, $actor, $target, array() ); -
do_action( 'polanger_dating_interaction_created', $id, $actor, $target, $type, array() ); -
do_action( 'polanger_dating_match_created', $match, $low, $high ); -
apply_filters( 'polanger_dating_member_destination', $destination, $user, $this->plugin ); -
apply_filters( 'polanger_dating_member_rest_request', $member, $path ); -
apply_filters( 'polanger_dating_membership_payload', array( 'features'=>$features, 'usage'=>$usage, 'credits'=>$credits, 'definitions'=>$this->definitions(), 'grants'=>$grants ), absint( $user ) ); -
apply_filters( 'polanger_dating_message_present', $message, absint( $user ), absint( $conversation ) ); -
do_action( 'polanger_dating_message_sent', $id, $conversation, $user, (int) $row['other_id'], $started ); -
apply_filters( 'polanger_dating_message_system_event', $event, $payload, absint( $user ), absint( $conversation ) ); -
do_action( 'polanger_dating_moderation_action_applied', $action, absint( $target ), absint( $affected_user ), absint( $moderator ) ); -
apply_filters( 'polanger_dating_moderation_profile_filter_values', $profile_filters, $r->get_params(), $this->plugin ); -
apply_filters( 'polanger_dating_moderation_profile_filters', array(), $this->plugin ); -
apply_filters( 'polanger_dating_moderation_queue_options', array(), $this->plugin ); -
apply_filters( 'polanger_dating_moderation_queue_priorities', array(), $this->plugin ); -
apply_filters( 'polanger_dating_notification_kinds', array() ); -
apply_filters( 'polanger_dating_notification_present', $row, absint( $user ) ); -
apply_filters( 'polanger_dating_notifications_where', $where, absint( $user ), $this->plugin ); -
do_action( 'polanger_dating_photo_limit_setting_after', (int) $settings['photo_max_count'] ); -
apply_filters( 'polanger_dating_platform_client_config', $config, $this->plugin, $profile_identifier ); -
do_action( 'polanger_dating_platform_enqueued', $this->plugin ); -
apply_filters( 'polanger_dating_platform_script_dependencies', array( 'pd-frontend', 'pd-profile-location', 'pd-discovery-filters', 'pd-registration-fields', 'pd-registration-steps', 'pd-profile-choices', 'pd-photo-gallery', 'pd-transport', 'pd-welcome-flow', 'pd-activity-header', 'pd-social-list', 'pd-moderation-profiles', 'pd-moderation-audit', 'pd-moderation-summary', 'pd-sidebar-utilities' ), $this->plugin ); -
apply_filters( 'polanger_dating_profile_data_before_save', $profile_data, $user_id, $data ); -
do_action( 'polanger_dating_profile_photo_added', $photo_id, $user_id, $attachment_id ); -
do_action( 'polanger_dating_profile_saved', $profile_id, $user_id, $data ); -
do_action( 'polanger_dating_register_dashboard_widgets', $this, $context ); -
do_action( 'polanger_dating_registration_completed', $user, (int) $result['photo_id'] ); -
do_action( "polanger_dating_render_settings_tab_{$current_tab}", $this->plugin ); -
do_action( 'polanger_dating_report_created', $report_id, $reporter_user_id, $target_user_id ); -
apply_filters( 'polanger_dating_root_route_slugs', array( 'profile', 'edit-profile', 'settings', 'blocked', 'messages', 'matches', 'likes', 'favorites', 'visitors', 'notifications', 'membership', 'welcome' ) ); -
apply_filters( 'polanger_dating_route_url', $this->build_route_url( $key ), $key, $this ); -
apply_filters( 'polanger_dating_settings_tabs', array( 'general' => array( 'label' => __( 'General', 'polanger-dating-system' ), 'priority' => 10, ), 'auth' => array( 'label' => __( 'Login and registration', 'polanger-dating-system' ), 'priority' => 20 ), 'profiles' => array( 'label' => __( 'Profile Settings', 'polanger-dating-system' ), 'priority' => 25 ), 'photos' => array( 'label' => __( 'Photos', 'polanger-dating-system' ), 'priority' =>... ); -
apply_filters( 'polanger_dating_site_policy_allows', $allowed, sanitize_key( $feature ), $setting, $this->plugin ); -
apply_filters( 'polanger_dating_source_credits', array( 'locations' => array( 'label' => __( 'City data', 'polanger-dating-system' ), 'name' => 'GeoNames', 'url' => 'https://www.geonames.org/', 'license' => 'CC BY 4.0', 'license_url' => 'https://creativecommons.org/licenses/by/4.0/', 'note' => __( 'Adapted country, city, language and approximate location data.', 'polanger-dating-system' ), 'details_url' => POLANGER_DATING_PLUGIN_URL . 'assets... ); -
do_action( 'polanger_dating_system_message_added', $id, $conversation, $actor, $clean ); -
apply_filters( 'polanger_dating_template_args', $args, $template ); -
apply_filters( 'polanger_dating_use_content_shell', true, get_queried_object_id() ); -
do_action( 'polanger_dating_user_blocked', $actor_user_id, $target_user_id ); -
do_action( 'polanger_dating_user_unblocked', absint( $actor_user_id ), absint( $target_user_id ) ); -
apply_filters( 'post_password_expires', time() + 10 * DAY_IN_SECONDS ); -
do_action( 'register_post', $username, $email, $errors ); -
apply_filters( 'registration_errors', $errors, $username, $email ); -
do_action( 'validate_password_reset', $errors, $user ); -
do_action( 'woocommerce_after_shop_loop' ); -
do_action( 'woocommerce_after_single_product' ); -
woocommerce_after_single_product_summary
action Used by 17 plugins → Copy link Customise this hookdo_action( 'woocommerce_after_single_product_summary' ); -
do_action( 'woocommerce_archive_description' ); -
do_action( 'woocommerce_before_shop_loop' ); -
do_action( 'woocommerce_before_single_product' ); -
woocommerce_before_single_product_summary
action Used by 25 plugins → Copy link Customise this hookdo_action( 'woocommerce_before_single_product_summary' ); -
do_action( 'woocommerce_no_products_found' ); -
do_action( 'woocommerce_shop_loop' ); -
do_action( 'woocommerce_single_product_summary' );
Generated from Polanger Dating for WordPress'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: