OminiFlow for WooCommerce 3.7.5 has 18 actions and 116 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 OminiFlow for WooCommerce fires an action
add_action( 'wpml_switch_language', function( $wpml_lang_code ) {
// Your code runs here.
}, 10, 1 );
// Change a value OminiFlow for WooCommerce is about to use
add_filter( 'wpml_active_languages', function( $value ) {
// Change $value here.
return $value;
}, 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
-
/** * Use WPML filter to get active languages */ apply_filters( 'wpml_active_languages', null ); -
facebook_for_woocommerce_fb_product_short_description
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the FB product short description. */ apply_filters( 'facebook_for_woocommerce_fb_product_short_description', $short_description, $this->id ); -
/** * Whether to hide the product from Facebook. */ apply_filters( 'wc_facebook_wpml_should_hide_product', true, $product_id, $product_lang ); -
/** * Use WPML filter to get product language details */ apply_filters( 'wpml_post_language_details', null, $product_id ); -
/** * Filters the job as returned from the database. */ apply_filters( "{$this->identifier}_returned_job", $job ); -
facebook_for_woocommerce_fb_product_description
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the FB product description. */ apply_filters( 'facebook_for_woocommerce_fb_product_description', $description, $this->id ); -
/** * Filters the admin settings screens. */ apply_filters( 'wc_facebook_admin_settings_screens', $this->screens, $this ); -
/** * Filters the admin settings tabs. */ apply_filters( 'wc_facebook_admin_settings_tabs', $tabs, $this ); -
wc_facebook_excluded_product_category_ids
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the configured excluded product category IDs. */ apply_filters( 'wc_facebook_excluded_product_category_ids', get_option( self::SETTING_EXCLUDED_PRODUCT_CATEGORY_IDS, array() ), $this ); -
/** * Filters the configured excluded product tag IDs. */ apply_filters( 'wc_facebook_excluded_product_tag_ids', get_option( self::SETTING_EXCLUDED_PRODUCT_TAG_IDS, array() ), $this ); -
/** * Use WPML filter to get default language */ apply_filters( 'wpml_default_language', null ); -
/** * Get translated product ID using the WPML language code */ apply_filters( 'wpml_object_id', $product_id, 'post', false, $wpml_code ); -
/** * Switch to target language */ do_action( 'wpml_switch_language', $wpml_lang_code ); -
/** * Filter cron health check interval */ apply_filters( "{$this->identifier}_cron_interval", $interval ); -
/** * Filter default time limit for background job execution, defaults to 20 * seconds */ apply_filters( "{$this->identifier}_default_time_limit", 20 ); -
/** * Runs when a job is completed. */ do_action( "{$this->identifier}_job_complete", $job ); -
/** * Runs when a job is created. */ do_action( "{$this->identifier}_job_created", $job ); -
/** * Runs after a job is deleted. */ do_action( "{$this->identifier}_job_deleted", $job ); -
/** * Runs when a job is failed. */ do_action( "{$this->identifier}_job_failed", $job ); -
/** * Runs when a job is updated. */ do_action( "{$this->identifier}_job_updated", $job ); -
/** * Filter whether memory limit has been exceeded or not */ apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
/** * Filter new background job attributes */ apply_filters( "{$this->identifier}_new_job_attrs", $attrs, $job_id ); -
/** * Filter the queue lock time */ apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
/** * Filter whether maximum execution time has exceeded or not */ apply_filters( "{$this->identifier}_time_exceeded", $return ); -
facebook_for_woocommerce_allow_full_batch_api_sync
filter Used by 2 plugins → Copy link Customise this hook/** * Allow full batch api sync to be enabled or disabled. */ apply_filters_deprecated( 'facebook_for_woocommerce_allow_full_batch_api_sync', array( $default_allow_sync, $this->get_product_count(), ), '2.6.10', 'facebook_for_woocommerce_block_full_batch_api_sync' ); -
facebook_for_woocommerce_block_full_batch_api_sync
filter Used by 2 plugins → Copy link Customise this hook/** * Block the full batch API sync. */ apply_filters( 'facebook_for_woocommerce_block_full_batch_api_sync', false ); -
facebook_for_woocommerce_fb_product_image_size
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the FB product image size. */ apply_filters( 'facebook_for_woocommerce_fb_product_image_size', 'full' ); -
facebook_for_woocommerce_integration_prepare_product
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the generated product data. */ apply_filters( 'facebook_for_woocommerce_integration_prepare_product', $product_data, $id ); -
facebook_for_woocommerce_variant_attribute_comma_replacement
filter Used by 2 plugins → Copy link Customise this hook/** * Filter: facebook_for_woocommerce_variant_attribute_comma_replacement */ apply_filters( 'facebook_for_woocommerce_variant_attribute_comma_replacement', ' ', $val ); -
/** * Filters whether Facebook signals are currently held. */ apply_filters( 'facebook_signals_held', self::$held ); -
/** * API Base Request Performed Action. */ do_action( "wc_{$this->get_api_id()}_api_request_performed", $request_data, $response_data, $this ); -
/** * Request URI Filter. */ apply_filters( "wc_{$this->get_api_id()}_api_request_uri", $uri, $this ); -
/** * Request arguments. */ apply_filters( "wc_{$this->get_api_id()}_http_request_args", $args, $this ); -
/** * Fires when the plugin is activated. */ do_action( "wc_{$this->get_plugin()->get_id()}_activated" ); -
/** * Filters whether TLS 1.2 is available. */ apply_filters( "wc_{$this->get_plugin()->get_id()}_api_is_tls_1_2_available", $this->get_plugin()->is_tls_1_2_available(), $this ); -
/** * Fires when the plugin is deactivated. */ do_action( "wc_{$this->get_plugin()->get_id()}_deactivated" ); -
/** * Admin Notice Dismissed Action. */ do_action( "wc_{$this->get_plugin()->get_id()}_dismiss_notice", $message_id, $user_id ); -
/** * Fires after the plugin has been installed. */ do_action( "wc_{$this->get_plugin()->get_id()}_installed" ); -
/** * Filters a milestone notice message. */ apply_filters( "wc_{$this->get_plugin()->get_id()}_milestone_message", $this->generate_milestone_notice_message( $message ), $id ); -
wc_{$this->get_plugin()->get_id()}_scripts_optimization_plugins
filter Copy link Customise this hook/** * Filters script optimization plugins to look for. */ apply_filters( "wc_{$this->get_plugin()->get_id()}_scripts_optimization_plugins", [ 'async-javascript.php' => 'Async JavaScript', 'autoptimize.php' => 'Autoptimize', 'wp-hummingbird.php' => 'Hummingbird', 'sg-optimizer.php' => 'SG Optimizer', 'w3-total-cache.php' => 'W3 Total Cache', 'wpFastestCache.php' => 'WP Fastest Cache', 'wp-rocket.php' => 'WP Rocket', ] ); -
/** * Fires after the plugin has been updated. */ do_action( "wc_{$this->get_plugin()->get_id()}_updated", $installed_version ); -
/** * Filters the screen settings. */ apply_filters( "wc_facebook_admin_{$this->get_id()}_settings", $this->get_settings(), $this ); -
wc_facebook_admin_settings_{$this->get_id()}_screen_description
filter Copy link Customise this hook/** * Filters the screen description. */ apply_filters( "wc_facebook_admin_settings_{$this->get_id()}_screen_description", $this->description, $this ); -
/** * Filters the screen label. */ apply_filters( "wc_facebook_admin_settings_{$this->get_id()}_screen_label", $this->label, $this ); -
/** * Filters the screen title. */ apply_filters( "wc_facebook_admin_settings_{$this->get_id()}_screen_title", $this->title, $this ); -
/** * Filters the Pixel event API request data. */ apply_filters( 'wc_facebook_api_pixel_event_request_data', $data, $this ); -
/** * Filters the maximum number of retries allowed for the request. */ apply_filters( 'wc_facebook_api_request_retry_limit', $this->retry_limit, $this ); -
/** * Filters the Business Manager ID. */ apply_filters( 'wc_facebook_business_manager_id', $business_manager_id, $this ); -
/** * Filters the URL used to connect to Facebook Commerce. */ apply_filters( 'wc_facebook_commerce_connect_url', $connect_url ); -
wc_facebook_commerce_default_google_product_category_id
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the plugin-level fallback Google product category ID. */ apply_filters( 'wc_facebook_commerce_default_google_product_category_id', $category_id, $this ); -
/** * Filters the API access token. */ apply_filters( 'wc_facebook_connection_access_token', $access_token, $this ); -
wc_facebook_connection_app_store_login_url
filter Used by 2 plugins → Copy link Customise this hook/** * Filters App Store login URL. */ apply_filters( 'wc_facebook_connection_app_store_login_url', self::APP_STORE_LOGIN_URL ); -
/** * Filters App Store login URL. */ apply_filters( 'wc_facebook_connection_authentication_url', self::CONNECTION_AUTHENTICATION_URL ); -
/** * Filters the shop's business external ID. */ apply_filters( 'wc_facebook_connection_business_id', get_bloginfo( 'name' ) ); -
/** * Filters the shop's business name. */ apply_filters( 'wc_facebook_connection_business_name', is_string( $business_name ) ? $business_name : '' ); -
/** * Filters the client ID. */ apply_filters( 'wc_facebook_connection_client_id', self::CLIENT_ID ); -
/** * Filters the merchant access token. */ apply_filters( 'wc_facebook_connection_merchant_access_token', $access_token, $this ); -
/** * Filters the page access token. */ apply_filters( 'wc_facebook_connection_page_access_token', $access_token, $this ); -
/** * Filters the connection parameters. */ apply_filters( 'wc_facebook_connection_parameters', array( 'client_id' => $this->get_client_id(), 'redirect_uri' => $this->get_proxy_url(), 'state' => $state, 'display' => 'page', 'response_type' => 'code', 'scope' => implode( ',', $this->get_scopes() ), 'extras' => wp_json_encode( $this->get_connect_parameters_extras() ), ) ); -
/** * Filters the proxy URL. */ apply_filters( 'wc_facebook_connection_proxy_url', self::PROXY_URL ); -
/** * Filters the redirect URL where the user will return to after OAuth. */ apply_filters( 'wc_facebook_connection_redirect_url', $redirect_url, $this ); -
/** * Filters the scopes that will be requested during the connection flow. */ apply_filters( 'wc_facebook_connection_scopes', $scopes, $this ); -
/** * Fires after the Meta connection is disconnected locally. */ do_action( 'wc_facebook_disconnected' ); -
/** * Filters the external business ID. */ apply_filters( 'wc_facebook_external_business_id', $this->external_business_id, $this ); -
wc_facebook_external_merchant_settings_id
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the Facebook external merchant settings ID. */ apply_filters( 'wc_facebook_external_merchant_settings_id', $this->external_merchant_settings_id, $this ); -
/** * Filter facebook retailer id value. */ apply_filters( 'wc_facebook_fb_retailer_id', $woo_id, $woo_product ); -
/** * Filters the frequency with which the product feed data is generated. */ apply_filters( 'wc_facebook_feed_generation_interval', DAY_IN_SECONDS ); -
/** * Filters the Facebook feed ID. */ apply_filters( 'wc_facebook_feed_id', $this->feed_id, $this ); -
/** * Filters whether advanced matching is enabled. */ apply_filters( 'wc_facebook_is_advanced_matching_enabled', true, $this ); -
/** * Filters whether debug mode is enabled. */ apply_filters( 'wc_facebook_is_debug_mode_enabled', 'yes' === get_option( self::SETTING_ENABLE_DEBUG_MODE ), $this ); -
/** * Filters whether product sync is enabled. */ apply_filters( 'wc_facebook_is_product_sync_enabled', 'yes' === get_option( self::SETTING_ENABLE_PRODUCT_SYNC, 'yes' ), $this ); -
/** * Filters the Facebook JS SDK version. */ apply_filters( 'wc_facebook_js_sdk_version', $this->js_sdk_version, $this ); -
wc_facebook_language_override_feed_file_name
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the language override feed file name. */ apply_filters( 'wc_facebook_language_override_feed_file_name', $file_name, $this->language_code ); -
wc_facebook_language_override_feed_generation_interval
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the frequency with which the language override feed data is * generated. */ apply_filters( 'wc_facebook_language_override_feed_generation_interval', DAY_IN_SECONDS ); -
wc_facebook_language_override_temp_feed_file_name
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the language override temporary feed file name. */ apply_filters( 'wc_facebook_language_override_temp_feed_file_name', $file_name, $this->language_code ); -
/** * Filters the locales supported by Facebook Messenger. */ apply_filters( 'wc_facebook_messenger_supported_locales', array_unique( $locales ) ); -
/** * Filters the configured Facebook page ID. */ apply_filters( 'wc_facebook_page_id', get_option( self::SETTING_FACEBOOK_PAGE_ID, '' ), $this ); -
/** * Filters whether the Pixel event API request should be non-blocking. */ apply_filters( 'wc_facebook_pixel_events_non_blocking', false ); -
/** * Filters the configured Facebook pixel ID. */ apply_filters( 'wc_facebook_pixel_id', get_option( self::SETTING_FACEBOOK_PIXEL_ID, '' ), $this ); -
/** * Filters the Facebook pixel install time. */ apply_filters( 'wc_facebook_pixel_install_time', $this->pixel_install_time, $this ); -
/** * Filters the product attribute mappings. */ apply_filters( 'wc_facebook_product_attribute_mappings', array(), $product ); -
wc_facebook_product_catalog_feed_file_name
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the product catalog feed file name. */ apply_filters( 'wc_facebook_product_catalog_feed_file_name', $file_name ); -
wc_facebook_product_catalog_feed_file_path
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the product catalog feed file path. */ apply_filters( 'wc_facebook_product_catalog_feed_file_path', "{$this->get_file_directory()}/{$this->get_file_name()}" ); -
/** * Filters the Facebook product catalog ID. */ apply_filters( 'wc_facebook_product_catalog_id', $this->product_catalog_id, $this ); -
wc_facebook_product_catalog_temp_feed_file_name
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the product catalog temporary feed file name. */ apply_filters( 'wc_facebook_product_catalog_temp_feed_file_name', $file_name ); -
wc_facebook_product_catalog_temp_feed_file_path
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the product catalog temporary feed file path. */ apply_filters( 'wc_facebook_product_catalog_temp_feed_file_path', "{$this->get_file_directory()}/{$this->get_temp_file_name()}" ); -
wc_facebook_product_group_default_variation
filter Used by 2 plugins → Copy link Customise this hook/** * Filter product group default variation. This can be used to customize the * choice of a default variation (e.g. choose one with the lowest price). */ apply_filters( 'wc_facebook_product_group_default_variation', $default_variation, $woo_product, $fb_product_group_id, $product_variations, $existing_catalog_variations ); -
/** * Filters the product price used for Facebook sync. */ apply_filters( 'wc_facebook_product_price', $price, (float) $facebook_price, $product ); -
/** * Filter the REST API endpoint handlers. */ apply_filters( 'wc_facebook_rest_endpoint_handlers', self::$endpoint_handlers ); -
/** * Filters whether a product should be synced to FB. */ apply_filters( 'wc_facebook_should_sync_product', true, $this->product ); -
/** * Filters whether the shortcodes should be applied for a string when syncing a * product or be stripped out. */ apply_filters( 'wc_facebook_string_apply_shortcodes', false, $str ); -
wc_facebook_sync_background_item_delete_request
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the data that will be included in a DELETE sync request. */ apply_filters( 'wc_facebook_sync_background_item_delete_request', $request, $prefixed_retailer_id ); -
wc_facebook_sync_background_item_update_request
filter Used by 2 plugins → Copy link Customise this hook/** * Filters the data that will be included in a UPDATE sync request. */ apply_filters( 'wc_facebook_sync_background_item_update_request', $request, $product ); -
/** * Filters the Facebook upload ID. */ apply_filters( 'wc_facebook_upload_id', $this->upload_id, $this ); -
/** * Filter the OminiFlow auth API base URL. */ apply_filters( 'wc_ominiflow_auth_api_base_url', self::DEFAULT_AUTH_API_BASE_URL ); -
/** * Filter the remote OminiFlow auth request before it is sent. */ apply_filters( 'wc_ominiflow_auth_api_request', null, $action, $credentials, $password, $base_url ); -
/** * Filter whether OminiFlow auth is fully configured. */ apply_filters( 'wc_ominiflow_auth_is_configured', false ); -
/** * Filter the OminiFlow login endpoint path. */ apply_filters( 'wc_ominiflow_auth_login_path', 'login' ); -
/** * Filter the OminiFlow signup endpoint path. */ apply_filters( 'wc_ominiflow_auth_signup_path', 'signup' ); -
/** * Filter the OminiFlow dashboard URL for connecting Meta/WhatsApp. */ apply_filters( 'wc_ominiflow_connect_meta_url', 'https://whatsapp.ominiflow.com/wpbox/setup' ); -
/** * Filter whether OminiFlow credential sync is enabled. */ apply_filters( 'wc_ominiflow_credential_sync_enabled', Auth_Config::is_configured() ); -
/** * Fires after OminiFlow credentials were applied to local options. */ do_action( 'wc_ominiflow_credentials_applied', $response ); -
/** * Filter the OminiFlow forgot-password page URL. */ apply_filters( 'wc_ominiflow_forgot_password_url', '' ); -
/** * Filter the OminiFlow integrations API base URL. */ apply_filters( 'wc_ominiflow_integrations_api_base_url', self::DEFAULT_INTEGRATIONS_API_BASE_URL ); -
/** * Fires after a successful OminiFlow login. */ do_action( 'wc_ominiflow_login_complete', $credentials, $remote_result ); -
/** * Filter login validation errors. */ apply_filters( 'wc_ominiflow_login_validation_errors', $errors, $email ); -
/** * Filter the OminiFlow logo URL used on onboarding screens. */ apply_filters( 'wc_ominiflow_logo_url', $default ); -
/** * Filter whether the OminiFlow auth gate is shown on the Shops screen. */ apply_filters( 'wc_ominiflow_show_auth_gate', true, $is_connected, $connection_invalid, $has_merchant_token ); -
/** * Fires after a successful OminiFlow signup. */ do_action( 'wc_ominiflow_signup_complete', $credentials, $remote_result ); -
/** * Filter signup validation errors. */ apply_filters( 'wc_ominiflow_signup_validation_errors', $errors, $full_name, $email, $phone ); -
/** * Filter default stock when "Manage stock" is disabled but product is in * stock. */ apply_filters( 'wc_ominiflow_unmanaged_stock_quantity', 100, $product ); -
/** * Applies WooCommerce core filter */ apply_filters( 'woocommerce_is_rest_api_request', $is_rest_api_request ); -
/** * Store original language */ apply_filters( 'wpml_current_language', null ); -
/** * Get translation status using WPML's API with the WPML code */ apply_filters( 'wpml_translation_status', null, $product_id, $wpml_code ); -
do_action( 'wc_facebook_feed_generation_completed' ); -
apply_filters( 'wc_ominiflow_privacy_url', 'https://ominiflow.com/privacy' ); -
apply_filters( 'wc_ominiflow_terms_url', 'https://ominiflow.com/terms' ); -
facebook_for_woocommerce_fb_rich_text_description
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'facebook_for_woocommerce_fb_rich_text_description', $rich_text_description, $this->id ); -
do_action( 'fbe_webhook', $request_body ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'plugin_locale', $locale, $textdomain ); -
apply_filters( 'wc_facebook_instance', \WC_Facebookcommerce::instance() ); -
apply_filters( 'wc_ominiflow_abandoned_cart_delay', 15 * MINUTE_IN_SECONDS ); -
apply_filters( 'wc_ominiflow_catalog_sync_enabled', true ); -
apply_filters( 'wc_ominiflow_catalog_sync_label', sprintf( __( '%s Catalog Sync', 'facebook-for-woocommerce' ), self::short_name() ) ); -
apply_filters( 'wc_ominiflow_integration_description', __( 'OminiFlow commerce workspace — catalog sync, abandoned cart, order statuses, and WhatsApp automation for WooCommerce.', 'facebook-for-woocommerce' ) ); -
apply_filters( 'wc_ominiflow_plugin_name', __( 'OminiFlow for WooCommerce', 'facebook-for-woocommerce' ) ); -
apply_filters( 'wc_ominiflow_product_tab_label', self::short_name() ); -
apply_filters( 'wc_ominiflow_short_name', __( 'OminiFlow', 'facebook-for-woocommerce' ) ); -
apply_filters( 'wc_ominiflow_tagline', __( 'easy, smarter, endless', 'facebook-for-woocommerce' ) ); -
apply_filters( 'wc_ominiflow_whatsapp_page_title', sprintf( __( '%s WhatsApp', 'facebook-for-woocommerce' ), self::short_name() ) ); -
apply_filters( "woocommerce_settings_api_sanitized_fields_{$this->id}", $this->settings );
Generated from OminiFlow 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: