WPMMCC ATS 2.1.10 has 59 actions and 62 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 WPMMCC ATS fires an action
add_action( 'wptsall_rule_updated', function( $rule_id, $model_id ) {
// Your code runs here.
}, 10, 2 );
// Change a value WPMMCC ATS is about to use
add_filter( 'wptsall_rel_hreflang_attributes', function( $hreflangs, $post_id, $vs ) {
// Change $hreflangs here.
return $hreflangs;
}, 10, 3 );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
-
/** * Filters the list of rel hreflang attributes emitted by wptsall. */ apply_filters( 'wptsall_rel_hreflang_attributes', $hreflangs, $post_id, $vs ); -
/** * Fires after a translation rule is created or updated. */ do_action( 'wptsall_rule_updated', $rule_id, $model_id ); -
/** * Fires after a template entry translation/status write. */ do_action( 'wptsall_entry_updated', (int) $id, array( 'text_domain' => is_string( $text_domain ) ? $text_domain : '', ) ); -
/** * Fires when relation models are updated. */ do_action( 'wptsall_relation_models_updated', $relation_id ); -
/** * Fires when a relation config is updated. */ do_action( 'wptsall_relation_updated', $relation_id ); -
/** * Filter normalized compatibility field declarations. */ apply_filters( 'wptsall_model_compatibility_field_declarations', $rows, $post_type ); -
/** * Fires after a model is saved (created). */ do_action( 'wptsall_model_saved', $model_id, $data ); -
/** * Filter adapter manifests after JSON + built-in discovery. Merge order: * built-in PHP > JSON hot-plug for the same plugin_slug. */ apply_filters( 'wptsall_adapter_manifests', $out ); -
/** * Escape hatch: return true to allow WP core redirect_canonical even on * virtual-site requests. */ apply_filters( 'wptsall_allow_canonical_redirect', false, $redirect_url, $requested_url ); -
/** * Allow taxonomy archive resolution without model/rule. */ apply_filters( 'wptsall_allow_taxonomy_without_model', true, $term, $virtual_site ); -
/** * Filter the allowlist of cron hooks that may be triggered manually. */ apply_filters( 'wptsall_allowed_cron_job_hooks', $allowed ); -
/** * Filter available languages for site configuration. */ apply_filters( 'wptsall_available_languages', $languages, $include_installed_only ); -
/** * Filter classification rules */ apply_filters( "wptsall_classification_rules_{$rule_type}", $rules ); -
/** * Filter whether client transport encryption is required for this request. */ apply_filters( 'wptsall_client_transport_encryption_required', $required ); -
/** * Fires after a managed source post is inserted/updated via any WP entry * (classic, Gutenberg REST, WP-CLI, programmatic updates). */ do_action( 'wptsall_content_changed', (int) $post_id, $post, (bool) $update ); -
/** * Filters the allowlist of core widget option names for sync/client read. */ apply_filters( 'wptsall_core_widget_options', $core, $name ); -
/** * Filter current language when Language_Context is unavailable. */ apply_filters( 'wptsall_current_language', '' ); -
/** * Disable Elementor JSON URL rewrite. */ apply_filters( 'wptsall_enable_elementor_url_rewrite', true, $vs ); -
/** * Disable runtime ID remapping for a key / request. */ apply_filters( 'wptsall_enable_metadata_id_remap', true, $meta_key, (int) $object_id, $config ); -
/** * Disable output-layer link rewriting. */ apply_filters( 'wptsall_enable_output_link_localizer', true, $vs ); -
/** * Filter simulation toggle for test/debug scenarios. */ apply_filters( 'wptsall_enable_translation_simulation', $enabled ); -
/** * Escape hatch: return false to skip home_url virtualization. */ apply_filters( 'wptsall_filter_home_url', true, $url, $path ); -
/** * Force head hreflang even when sitemap preference is on. */ apply_filters( 'wptsall_force_head_hreflang', false ); -
/** * After FSE content is registered for translation. */ do_action( 'wptsall_fse_content_changed', $post, $strings ); -
/** * Escape hatch: disable source→virtual 301 for this request. */ apply_filters( 'wptsall_is_redirected', true ); -
/** * Filter JSON-backed field rules adapters. */ apply_filters( 'wptsall_json_field_rules_adapters', $adapters ); -
/** * Fires after a manual translation has been saved successfully. */ do_action( 'wptsall_manual_translation_saved', $source_post_id, $relation_id, (int) $result['target_id'], array( 'target_lang' => (string) ( $relation['target_lang'] ?? '' ), 'target_site_type' => $target_site_type, 'is_update' => (bool) ( $result['is_update'] ?? false ), ) ); -
/** * Filters the runtime id_mapping meta key map. */ apply_filters( 'wptsall_metadata_id_remap_fields', $map ); -
/** * Fires after a model is deleted. */ do_action( 'wptsall_model_deleted', $model_id, $model['plugin_slug'] ); -
/** * Fires when a model's usage status changes. */ do_action( 'wptsall_model_usage_changed', $model_id, $old_status, $status ); -
/** * Escape hatch (WPML-style): return false to leave SEO plugin canonical alone. */ apply_filters( 'wptsall_must_translate_canonical', true, $canonical ); -
/** * Filters how many leases an outbox row gets before it is retired to the * terminal `dead` state. */ apply_filters( 'wptsall_outbox_max_attempts', self::DEFAULT_MAX_ATTEMPTS ); -
/** * Filter normalized peer language configs. */ apply_filters( 'wptsall_peer_language_configs', $configs ); -
/** * Filter the registered plugin field rules adapters. */ apply_filters( 'wptsall_plugin_field_rules_adapters', self::$adapters ); -
/** * Filter the post type schema definition. */ apply_filters( 'wptsall_post_type_schema', $schema, $post_type ); -
/** * Allow third-party plugins to register additional write-back adapters. */ do_action( 'wptsall_register_write_back_adapters' ); -
/** * Filter whether to skip home_url rewriting. */ apply_filters( 'wptsall_skip_home_url_filter', false, $url, $path ); -
/** * Fires when a task batch creates or refreshes open tasks. */ do_action( 'wptsall_task_created', $count, $batch_job_id ); -
/** * Fires after a task row is deleted via the REST API. */ do_action( 'wptsall_task_deleted', $id ); -
/** * Filter task type priority for ordering. */ apply_filters( 'wptsall_task_type_priority', self::$default_type_priority ); -
/** * Fires after a task status transition is persisted. */ do_action( 'wptsall_task_updated', intval( $row['id'] ), $status_to ); -
/** * Filter the taxonomy schema definition. */ apply_filters( 'wptsall_taxonomy_schema', $schema, $taxonomy ); -
/** * Filter the taxonomy URL slug mapping */ apply_filters( 'wptsall_taxonomy_url_map', $tax_map ); -
/** * Fires after a managed source term is created/updated. */ do_action( 'wptsall_term_changed', $term_id, $taxonomy, (bool) $update ); -
/** * Fires after a virtual-site request is bound to a queried object. */ do_action( 'wptsall_virtual_site_resolved', $virtual_site, $resolved, $wp ); -
apply_filters( 'wptsall_fse_managed_post_types', array( 'wp_template', 'wp_template_part', 'wp_navigation', 'wp_global_styles' ) ); -
apply_filters( 'wptsall_max_gallery_media_per_sync', 20 ); -
do_action( 'wptsall_media_changed', $attachment_id, null, 'attachment_deleted', '', 1 ); -
do_action( 'wptsall_string_translated', $id, $lang, $text ); -
do_action( 'wptsall_sync_post_to_virtual_sites', $post_id, $post ); -
do_action( 'wptsall_virtual_site_created', $site_id, $data ); -
do_action( 'wptsall_virtual_site_updated', $site_id, $data ); -
apply_filters( 'document_title_separator', '-' ); -
do_action( 'wptsall_activate' ); -
do_action( 'wptsall_activated' ); -
do_action( 'wptsall_blog_template_deleted' ); -
do_action( 'wptsall_blog_template_field_added', $meta_key, $context, $config ); -
do_action( 'wptsall_blog_template_field_removed', $meta_key, $context ); -
do_action( 'wptsall_blog_template_field_updated', $meta_key, $context, $config ); -
do_action( 'wptsall_blog_template_saved', $template ); -
do_action( 'wptsall_blog_template_sync_policies_updated', $template ); -
do_action( 'wptsall_cleanup_old_tasks' ); -
apply_filters( 'wptsall_client_claim_timeout_seconds', $default ); -
apply_filters( 'wptsall_client_data_rate_limits', array( 'content' => array( 'limit' => 120, 'window' => 60 ), 'content_claim' => array( 'limit' => 120, 'window' => 60 ), ), $bucket ); -
apply_filters( 'wptsall_client_transport_encryption_policy', 'https_optional' ); -
apply_filters( 'wptsall_component_capability_allowlist', array( 'translate', 'segment', 'format', 'tm_lookup' ) ); -
apply_filters( 'wptsall_core_field_defaults', $defaults ); -
do_action( 'wptsall_cron_process_tasks' ); -
apply_filters( 'wptsall_cross_site_alternates', array(), $lookup_id ); -
do_action( 'wptsall_daily_cleanup' ); -
do_action( 'wptsall_daily_cleanup_done', $stats ); -
do_action( 'wptsall_deactivated' ); -
apply_filters( 'wptsall_device_token_overlap_seconds', $seconds ); -
apply_filters( 'wptsall_device_token_ttl', $requested ); -
apply_filters( 'wptsall_discovery_content_tables', array( $wpdb->posts => array( 'ID', 'post_title', 'post_content', 'post_excerpt', 'post_name', 'post_type', 'post_status', 'post_date', 'post_date_gmt', 'post_parent', 'menu_order' ), $wpdb->postmeta => array( 'meta_id', 'post_id', 'meta_key' ), $wpdb->terms => array( 'term_id', 'name', 'slug', 'term_group' ), $wpdb->term_taxonomy => array( 'term_taxonomy_id', 'term_id', 'taxonomy', 'descriptio... ); -
apply_filters( 'wptsall_is_syncable_option', false, $name, $relation_id ); -
apply_filters( 'wptsall_lang_query_arg', 'lang', $vs ); -
apply_filters( 'wptsall_log_max_file_size', 5 * 1024 * 1024 ); -
do_action( 'wptsall_manual_translation_before_replace_attach', $source_post_id, $relation_id, $current_target_id, $candidate_target_post_id ); -
apply_filters( 'wptsall_max_media_per_sync', 20 ); -
apply_filters( 'wptsall_max_retries', 3 ); -
apply_filters( 'wptsall_max_stuck_recovery_count', 3 ); -
do_action( 'wptsall_media_deleted', $attachment_id, (int) get_current_blog_id() ); -
do_action( 'wptsall_model_auto_created', $model_id, $template, $source_site_id ); -
apply_filters( 'wptsall_plugin_field_defaults', $rules ); -
do_action( 'wptsall_post_mapping_created', $mapping_id, $mapping_data, (bool) $mapping_id ); -
do_action( 'wptsall_process_high_priority_tasks' ); -
do_action( 'wptsall_process_low_priority_tasks' ); -
do_action( 'wptsall_process_monitoring_tasks' ); -
do_action( 'wptsall_process_normal_tasks' ); -
do_action( 'wptsall_process_pending_sync_tasks' ); -
do_action( 'wptsall_process_tasks' ); -
apply_filters( 'wptsall_provider_http_urls', array() ); -
apply_filters( 'wptsall_provider_url_allowlist', array() ); -
apply_filters( 'wptsall_require_client_storage_map_contract', true, $request ); -
apply_filters( 'wptsall_retry_batch_size', 10 ); -
do_action( 'wptsall_retry_failed_tasks' ); -
do_action( 'wptsall_run_i18n_scan' ); -
apply_filters( 'wptsall_seo_skip_emit_hreflang', false ); -
apply_filters( 'wptsall_seo_skip_emit_robots', false ); -
do_action( 'wptsall_settings_updated', $next, $partial ); -
do_action( 'wptsall_site_relation_deleted', $relation_id, $relation ); -
do_action( 'wptsall_site_relation_status_updated', $relation_id, $status ); -
do_action( 'wptsall_site_relation_updated', $relation_id, $data ); -
do_action( 'wptsall_site_relations_created', $relation_ids, $data ); -
apply_filters( 'wptsall_sync_conflict_strategy', $relation_strategy, $target_id, $relation_id, $sync_path, $last_synced ); -
do_action( 'wptsall_sync_cron' ); -
apply_filters( 'wptsall_syncable_options', array( 'blogname', 'blogdescription', ) ); -
apply_filters( 'wptsall_table_names', $tables ); -
apply_filters( 'wptsall_task_job_business_line_priority', $defaults ); -
apply_filters( 'wptsall_task_job_object_type_priority', $defaults ); -
do_action( 'wptsall_term_mapping_created', $mapping_id, $mapping_data, true ); -
apply_filters( 'wptsall_term_sync_conflict_strategy', $relation_strategy, $target_term_id, $relation_id, $sync_path, $last_synced, $last_manual_edit ); -
apply_filters( 'wptsall_tm_auto_record_enabled', $enabled ); -
do_action( 'wptsall_tm_recorded', $source_text, $source_lang, $target_lang, $target_text ); -
do_action( 'wptsall_translation_completed', $template_id ); -
do_action( 'wptsall_url_discovery_bulk', $urls, $source_lang, $target_lang ); -
do_action( 'wptsall_virtual_site_deleted', $site_id, $site ); -
do_action( 'wptsall_weekly_maintenance' ); -
do_action( 'wptsall_weekly_maintenance_done', $stats );
Generated from WPMMCC ATS'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: