Skip to content

Miscellaneous Filters ​

26 unique filter hooks currently map to this category, across 30 call sites.

Hook Inventory ​

HookEditionCall SitesFirst Source
fluent_community_pro/module_entriesPRO1fluent-community-pro/app/Hooks/Handlers/ModuleAssetsHandler.php:164
fluent_community/action_query_keyCore1fluent-community/app/Services/Helper.php:415
fluent_community/add_sitemap_providerPRO1fluent-community-pro/app/Modules/SeoSiteMap/SeoSiteMapHandler.php:22
fluent_community/announcement_email/holdCore1fluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:450
fluent_community/announcement_email/recipients_queryCore1fluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:470
fluent_community/can_use_custom_jsCore (also fired by Pro)2fluent-community-pro/app/Services/ProHelper.php:162
fluent_community/cloud_storage_strictPRO1fluent-community-pro/app/Modules/CloudStorage/StorageHelper.php:66
fluent_community/cloudflare_ip_rangesCore1fluent-community/app/Services/Helper.php:2821
fluent_community/custom_order_byCore1fluent-community/app/Models/Feed.php:438
fluent_community/getting_started_stepsCore1fluent-community/app/Services/GettingStartedService.php:107
fluent_community/license_grace_period_daysPRO1fluent-community-pro/app/Http/Controllers/LicenseController.php:113
fluent_community/lock_timeoutPRO1fluent-community-pro/app/Services/NamedLock.php:33
fluent_community/max_execution_timeCore1fluent-community/app/Functions/Utility.php:812
fluent_community/max_per_pageCore1fluent-community/app/Services/Helper.php:311
fluent_community/mcp/single_result_copyCore1fluent-community/Modules/Mcp/McpModule.php:172
fluent_community/mcp/toolsCore1fluent-community/Modules/Mcp/AbilitiesRegistrar.php:393
fluent_community/module_import_mapCore1fluent-community/app/Vite.php:167
fluent_community/module_scriptsCore1fluent-community/app/Vite.php:200
fluent_community/powered_by_textCore1fluent-community/app/Functions/Utility.php:522
fluent_community/powered_by_urlCore1fluent-community/app/Functions/Utility.php:549
fluent_community/remote_preview_pre_parseCore3fluent-community/app/Services/RemoteUrlParser.php:26
fluent_community/search/api_responseCore1fluent-community/app/Http/Controllers/SearchController.php:33
fluent_community/search/providersCore1fluent-community/app/Services/Search/SearchService.php:25
fluent_community/seo/pre_renderPRO1fluent-community-pro/app/Modules/SeoSiteMap/AbstractPortalPreRenderer.php:74
fluent_community/trusted_proxiesCore1fluent-community/app/Services/Helper.php:2766
fluent_community/undeliverable_crm_contact_statusesCore2fluent-community/app/Services/Helper.php:3326

fluent_community_pro/module_entries ​

  • Type: filter
  • Edition: PRO
  • Call sites: 1

Call Sites ​

EditionSourceParameters
PROfluent-community-pro/app/Hooks/Handlers/ModuleAssetsHandler.php:164[] (array)

Example ​

php
add_filter('fluent_community_pro/module_entries', function ($param1) {
    return $param1;
}, 10, 1);

fluent_community/action_query_key ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Renames the query argument the portal uses for its own actions.

The default is fcom_action. The returned key is validated rather than cast: it must be 3-32 characters of lowercase letters, digits and underscores, and must not collide with a WordPress query variable or one of the portal's own argument names. An invalid key is discarded in silence and the default is used. The FLUENT_COMMUNITY_ACTION_KEY constant wins outright — when it is defined and valid the filter is never applied. Renaming the key does not retire the old one: fcom_action keeps working alongside it.

Parameters ​

#NameTypeDescription
1$keystringThe query key. fcom_action by default.

Return: string — ignored unless it passes validation.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Services/Helper.php:415self::LEGACY_ACTION_KEY (mixed)

Example ​

php
add_filter('fluent_community/action_query_key', function ($key) {
    return $key;
}, 10, 1);

Related: fluent_community/portal_action_auth

fluent_community/add_sitemap_provider ​

  • Type: filter
  • Edition: PRO
  • Call sites: 1

Call Sites ​

EditionSourceParameters
PROfluent-community-pro/app/Modules/SeoSiteMap/SeoSiteMapHandler.php:22$enableSitemap (mixed)

Example ​

php
add_filter('fluent_community/add_sitemap_provider', function ($enableSitemap) {
    return $enableSitemap;
}, 10, 1);

fluent_community/announcement_email/hold ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Return true to stop an announcement email run before any recipient is queried.

It runs inside the background job that mails an announcement, after the post and its in-app notification have been confirmed and before the recipient query. Holding makes the job finish quietly: nothing is sent and, importantly, nothing is rescheduled. There is no automatic retry and no per-recipient record of who was already mailed, so a hold with no plan to resume drops the announcement for good.

Parameters ​

#NameTypeDescription
1$holdboolWhether to stop the run. False by default.
2$feed\FluentCommunity\App\Models\FeedThe announcement post.
3$lastSendUserIdintThe last member mailed in the previous batch, 0 on the first batch.

Return: bool — tested for truthiness.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:450false (bool)
$feed (Feed)
(int) $lastSendUserId (int)

Example ​

php
add_filter('fluent_community/announcement_email/hold', function ($hold, $feed, $lastSendUserId) {
    return $hold;
}, 10, 3);

Related: fluent_community/announcement_email/recipients_query

fluent_community/announcement_email/recipients_query ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Narrows who receives an announcement email.

The query arrives already carrying the rules that make an announcement safe to send: the member belongs to the announcement's space and is active in it, their community profile is active, and they have not opted out of announcement emails unless they opted back in for this space. Those clauses are the access control. Narrow the query with further conditions and return it; a listener that clears the conditions, or hands back a fresh query, mails a private space's announcement to every WordPress user on the site — and each message carries sign-in links built for its recipient.

Parameters ​

#NameTypeDescription
1$recipients\FluentCommunity\Framework\Database\Orm\BuilderThe recipient query.
2$feed\FluentCommunity\App\Models\FeedThe announcement post.

Return: \FluentCommunity\Framework\Database\Orm\Builder — the query is used directly, so it must be returned.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:470$recipients (mixed)
$feed (Feed)

Example ​

php
add_filter('fluent_community/announcement_email/recipients_query', function ($recipients, $feed) {
    return $recipients;
}, 10, 2);

Related: fluent_community/announcement_email/hold

fluent_community/can_use_custom_js ​

  • Type: filter
  • Edition: Core (also fired by Pro)
  • Call sites: 2
  • When it fires: Decides who may save, see and run the community's custom JavaScript.

The second argument says which of the three is being asked about: save, ui or output. Output defaults to true, while saving and seeing default to the caller holding unfiltered_html. The result is cast to bool. The three are independent, so a filter that returns one value for every context is answering a question it was not asked — and save is the dangerous one, because the stored script is printed into the portal footer unescaped for every visitor. The free plugin never applies this filter; only Pro's snippet settings and footer output do.

Parameters ​

#NameTypeDescription
1$allowedboolWhether it is allowed.
2$contextstringsave, ui or output.

Return: bool — cast from whatever is returned.

Call Sites ​

EditionSourceParameters
PROfluent-community-pro/app/Services/ProHelper.php:162$default (mixed)
$context (mixed)
Corefluent-community/app/Functions/Utility.php:509$default (mixed)
$context (mixed)

Example ​

php
add_filter('fluent_community/can_use_custom_js', function ($allowed, $context) {
    return $allowed;
}, 10, 2);

fluent_community/cloud_storage_strict ​

  • Type: filter
  • Edition: PRO
  • Call sites: 1
  • When it fires: Decides whether an upload fails outright when cloud storage cannot take it.

Defaults to whatever the FLUENT_COMMUNITY_CLOUD_STORAGE_STRICT constant says, and the result is cast to bool. In strict mode a push that fails deletes the local file and returns an error instead of quietly keeping the file on the server. It is consulted twice: once per upload, and once at bootstrap while the plugins load. The bootstrap reading is the one to watch — with the cloud storage feature switched off and strict mode on, every upload is refused, and a filter registered on init is too late to change that branch.

Parameters ​

#NameTypeDescription
1$strictboolWhether a failed push fails the upload. False by default.

Return: bool — cast from whatever is returned.

Call Sites ​

EditionSourceParameters
PROfluent-community-pro/app/Modules/CloudStorage/StorageHelper.php:66$strict (mixed)

Example ​

php
add_filter('fluent_community/cloud_storage_strict', function ($strict) {
    return $strict;
}, 10, 1);

Related: fluent_community/cloud_storage_upload_failed

fluent_community/cloudflare_ip_ranges ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Sets which address ranges are trusted to send Cloudflare's visitor-IP header.

This decides whether a client-supplied header is believed over the real connecting address, and the answer feeds rate limiting and audit records — so widening the list lets a visitor choose the IP the community sees. The filter receives the full published Cloudflare list, which means a careless append is really a replace; return the list you want in full. Entries must be CIDR blocks or exact addresses, and anything else never matches. Returning an empty array turns Cloudflare detection off and leaves the separate trusted-proxy path in charge.

Parameters ​

#NameTypeDescription
1$rangesstring[]CIDR blocks and addresses, IPv4 and IPv6.

Return: string[] — cast to an array.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Services/Helper.php:2821array (22 items) (array)

Example ​

php
add_filter('fluent_community/cloudflare_ip_ranges', function ($ranges) {
    return $ranges;
}, 10, 1);

Related: fluent_community/trusted_proxies

fluent_community/custom_order_by ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Applies a custom sort to the post query for an order key the built-in sorts do not handle.

Reachable only for keys you have added through fluent_community/post_order_options: the scope rejects anything outside that list before the filter, and each of the seven shipped keys is handled by an earlier branch and returns early. A callback receives the query builder and must return a builder — return nothing and the caller ends up with null where a query is expected. Apply ordering only; adding where clauses here silently changes which posts a viewer sees.

Parameters ​

#NameTypeDescription
1$querymixedThe post query builder, with no ordering applied yet.
2$typestringThe requested sort key.

Return: The query builder. Returning anything else breaks the caller, which continues to chain on it.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Models/Feed.php:438$query (mixed)
$type (mixed)

Example ​

php
add_filter('fluent_community/custom_order_by', function ($query, $type) {
    return $query;
}, 10, 2);

Related: fluent_community/post_order_options

fluent_community/getting_started_steps ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Adds, removes or reorders the steps on the admin getting-started checklist.

Everything returned is re-sanitised rather than escaped later, so markup in a title or description is stripped. A step with no key, no title or a duplicate key is dropped, unknown fields are dropped, and an action is kept only when it is a URL, a portal route or an event name in the expected shape — otherwise the step renders without a button. Returning something that is not an array empties the checklist. Core's own steps are detected from site data on every read and never stored, so a step hard-coded as done here stays done for good. Progress counts the required steps only, so an optional step never holds completion back.

Parameters ​

#NameTypeDescription
1$stepsarrayThe checklist steps in order.
2$userIdintThe administrator viewing the checklist.

Return: array — re-sanitised; a non-array empties the list.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Services/GettingStartedService.php:107$steps (mixed)
$userId (int)

Example ​

php
add_filter('fluent_community/getting_started_steps', function ($steps, $userId) {
    return $steps;
}, 10, 2);

fluent_community/license_grace_period_days ​

  • Type: filter
  • Edition: PRO
  • Call sites: 1

Call Sites ​

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/LicenseController.php:11315 (int)

Example ​

php
add_filter('fluent_community/license_grace_period_days', function ($param1) {
    return $param1;
}, 10, 1);

fluent_community/lock_timeout ​

  • Type: filter
  • Edition: PRO
  • Call sites: 1
  • When it fires: Seconds to wait for a lock another request holds.

Parameters ​

#NameTypeDescription
1$timeoutint—
2$namestring—

Call Sites ​

EditionSourceParameters
PROfluent-community-pro/app/Services/NamedLock.php:33self::TIMEOUT (mixed)
$name (mixed)

Example ​

php
add_filter('fluent_community/lock_timeout', function ($timeout, $name) {
    return $timeout;
}, 10, 2);

fluent_community/max_execution_time ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Filters the number of seconds a batched background job may run before re-scheduling itself.

The default is derived from PHP's max_execution_time: unlimited or unreadable becomes 60, the value is capped at 58, and three seconds of headroom are subtracted — so a typical site sees 27 or 55. Email digests, post and comment notifications and the moderation mailers all compare their elapsed time against it and queue a fresh Action Scheduler task when they exceed it. Returning a value larger than the real PHP limit risks jobs being killed mid-batch, which loses the resume point.

Parameters ​

#NameTypeDescription
1$maxRunTimeintSeconds of budget for a batch, already capped and reduced by three.

Return: int — seconds. It is not re-clamped, so the cap and the headroom are yours to respect.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Functions/Utility.php:812$maxRunTime (mixed)

Example ​

php
add_filter('fluent_community/max_execution_time', function ($maxRunTime) {
    return $maxRunTime;
}, 10, 1);

Related: fluent_community_send_daily_digest

fluent_community/max_per_page ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Filters the ceiling on how many items a paginated portal endpoint will return.

Defaults to 100 and is applied identically in the feeds and activities endpoints, where the requested per_page is clamped with min($maxPerPage, max(1, $perPage)). The result is cast with (int) and an effective 0 falls back to 100, so the limit cannot be removed by returning nothing — return a large number instead. It bounds only these two endpoints; other list endpoints use the framework's own pagination defaults.

Parameters ​

#NameTypeDescription
1$maxPerPageintThe per-page ceiling, 100 by default.

Return: int — cast to an integer; a falsy result reverts to 100.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Services/Helper.php:311100 (int)

Example ​

php
add_filter('fluent_community/max_per_page', function ($maxPerPage) {
    return $maxPerPage;
}, 10, 1);

fluent_community/mcp/single_result_copy ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Return false to keep the structured copy of a tool result alongside its text copy.

By default a result that carries both a text copy and a structured copy has the structured one removed, so a client does not show the same answer twice. Return false for a client that reads the structured copy and ignores the text. It applies to FluentCommunity's own MCP endpoint only — the same tools served through FluentHub's shared endpoint are shaped by FluentHub.

Parameters ​

#NameTypeDescription
1$onceboolWhether to send one copy of the result. True by default.

Return: bool — tested for truthiness.

Call Sites ​

EditionSourceParameters
Corefluent-community/Modules/Mcp/McpModule.php:172true (bool)

Example ​

php
add_filter('fluent_community/mcp/single_result_copy', function ($once) {
    return $once;
}, 10, 1);

Related: fluent_community/mcp/tools

fluent_community/mcp/tools ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Registers MCP tools, so an add-on can expose its own abilities to AI agents.

The array starts empty — core's own tools are not passed through it — and each entry is validated before it is kept. The name must be a string prefixed fluent-community/, the definition needs a label, a description, an array input schema and a callable, and requires must be one of manager, moderator, site_admin or course_creator. An entry that fails any of those is dropped without a warning, and the only visible sign is the tool missing from the count on the settings screen. Core's own names always win, so a tool cannot be replaced — though two add-ons can still overwrite each other, with the later one winning. A registered tool then goes through core's whole check chain on every call: the gate, the feature flag, the role, then parameter validation.

Parameters ​

#NameTypeDescription
1$definitionsarrayTool name => definition. Empty by default.

Return: array — cast to an array, then validated entry by entry.

Call Sites ​

EditionSourceParameters
Corefluent-community/Modules/Mcp/AbilitiesRegistrar.php:393[] (array)

Example ​

php
add_filter('fluent_community/mcp/tools', function ($definitions) {
    return $definitions;
}, 10, 1);

Related: fluent_community/mcp/single_result_copy

fluent_community/module_import_map ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Bare module specifiers add-ons may import on FluentCommunity pages.

Parameters ​

#NameTypeDescription
1$importsarrayMap of bare specifier => absolute URL.
2$runtimestring'portal' or 'admin'.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Vite.php:167$imports (mixed)
$runtime (mixed)

Example ​

php
add_filter('fluent_community/module_import_map', function ($imports, $runtime) {
    return $imports;
}, 10, 2);

fluent_community/module_scripts ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Module scripts of add-ons built on the shared runtime. the page appends ?ver= to every script.

Parameters ​

#NameTypeDescription
1$scriptsarrayMap of handle => ['url' => string]. No query string in the URL:
2$runtimestring'portal' or 'admin'.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Vite.php:200[] (array)
$runtime (mixed)

Example ​

php
add_filter('fluent_community/module_scripts', function ($scripts, $runtime) {
    return $scripts;
}, 10, 2);

fluent_community/powered_by_text ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Changes the "Powered by FluentCommunity" wording in the portal sidebar and in emails.

The second argument says which of the two is being rendered. The email default is deliberately left untranslated while the portal default is translated. Every call site escapes the result as plain text, so markup and a second link cannot be injected through it. In the portal it only applies to members: a site administrator sees a different block, so test the filter while logged out of an admin account. In an email run it fires once per email composed.

Parameters ​

#NameTypeDescription
1$textstringThe wording.
2$contextstringportal or email.

Return: string — cast, then escaped as plain text.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Functions/Utility.php:522$default (mixed)
$context (mixed)

Example ​

php
add_filter('fluent_community/powered_by_text', function ($text, $context) {
    return $text;
}, 10, 2);

Related: fluent_community/powered_by_url

fluent_community/powered_by_url ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Changes where the "Powered by FluentCommunity" link points.

The URL arrives with its campaign arguments already applied, and those arguments are passed alongside it. Unlike the text filter there is no context argument, so the campaign source is the only way to tell the portal footer from an email footer. The site's own affiliate reference is already built into the URL, so replacing the URL outright drops that attribution. The result is escaped as a URL at every call site, and it does not touch the product links elsewhere in the plugin.

Parameters ​

#NameTypeDescription
1$urlstringThe link, with campaign arguments applied.
2$paramsarrayThe campaign arguments used.

Return: string — cast, then escaped as a URL.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Functions/Utility.php:549add_query_arg($params, $url) (mixed)
$params (mixed)

Example ​

php
add_filter('fluent_community/powered_by_url', function ($url, $params) {
    return $url;
}, 10, 2);

Related: fluent_community/powered_by_text

fluent_community/remote_preview_pre_parse ​

  • Type: filter
  • Edition: Core
  • Call sites: 3
  • When it fires: Short-circuits a link preview lookup before any request leaves the site.

Return null to let the lookup proceed. Anything else — including false, an empty string or an empty array — counts as handled, because the result is compared strictly against null. What a non-null value then means depends on which lookup asked: the main parser hands your value back to its caller as the preview, the iframe-thumbnail path reads only an image key out of it, and the block editor's preview proxy treats any non-null value as a refusal and answers 404. Supplying a preview array therefore also turns that proxy into a 404.

Parameters ​

#NameTypeDescription
1$prenull|array|false|\WP_ErrorNull to continue. Anything else is treated as handled.
2$urlstringThe URL being previewed.

Return: null|array|false|\WP_Error — compared strictly against null.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Services/RemoteUrlParser.php:26null (mixed)
$url (mixed)
Corefluent-community/app/Services/RemoteUrlParser.php:81null (mixed)
$src (mixed)
Corefluent-community/Modules/FeaturesHandler.php:115null (mixed)
$params['url'] (array)

Example ​

php
add_filter('fluent_community/remote_preview_pre_parse', function ($pre, $url) {
    return $pre;
}, 10, 2);

Related: fluent_community/oembed_cache_ttl · fluent_community/preview_metadata_pre_fetch

fluent_community/search/api_response ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Filters the whole global search response, after every requested provider has run.

The filtered value is returned to the client as it stands, with no reshaping or validation. results is an object rather than an array, so that an empty result set serialises as {} — a filter that treats it as an array will fail. It also fires for a query too short to search, where the results are empty and no provider ran. Extra keys are safe but the portal ignores them, and the portal issues several requests per search session, so this is not once per user search.

Parameters ​

#NameTypeDescription
1$responsearrayresults (object keyed by type), terms and execution_time in seconds.
2$query\FluentCommunity\App\Services\Search\SearchQueryThe parsed query, with its trimmed text and extracted terms.
3$typesstring[]The result types the request asked for.

Return: array — returned to the client unchanged.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Http/Controllers/SearchController.php:33array (3 keys: results, terms, execution_time) (array)
$query (mixed)
$types (mixed)

Example ​

php
add_filter('fluent_community/search/api_response', function ($response, $query, $types) {
    return $response;
}, 10, 3);

Related: fluent_community/search/providers

fluent_community/search/providers ​

  • Type: filter
  • Edition: Core
  • Call sites: 1
  • When it fires: Registers the result types global search can answer, each with the callable that answers it.

Keyed by the type name the client asks for, with a callable receiving the parsed query, the user or null, and the request arguments (limit, page, space and sort). Core registers posts, comments, people and spaces, and the course module adds courses through this same filter. Entries that are not callable are dropped silently, and returning anything that is not an array disables search altogether, core types included. Type names are key-sanitised before they are matched, so an uppercase key can never be reached. A provider runs only when the request asks for its type, and it must apply the caller's own visibility rules, because guests reach search on a community whose access level is public.

Parameters ​

#NameTypeDescription
1$providersarrayType name => callable(SearchQuery $query, User

Return: array — non-callable entries are dropped; a non-array disables search.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Services/Search/SearchService.php:25array (4 keys: posts, comments, people, …) (array)

Example ​

php
add_filter('fluent_community/search/providers', function ($providers) {
    return $providers;
}, 10, 1);

Related: fluent_community/search/api_response

fluent_community/seo/pre_render ​

  • Type: filter
  • Edition: PRO
  • Call sites: 1

Call Sites ​

EditionSourceParameters
PROfluent-community-pro/app/Modules/SeoSiteMap/AbstractPortalPreRenderer.php:74true (bool)
$this->routeName() (mixed)

Example ​

php
add_filter('fluent_community/seo/pre_render', function ($param1, $routeName) {
    return $param1;
}, 10, 2);

fluent_community/trusted_proxies ​

  • Type: filter
  • Edition: Core
  • Call sites: 1

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Services/Helper.php:2766[ '127.0.0.1' ] (array)

Example ​

php
add_filter('fluent_community/trusted_proxies', function ($param1) {
    return $param1;
}, 10, 1);

fluent_community/undeliverable_crm_contact_statuses ​

  • Type: filter
  • Edition: Core
  • Call sites: 2
  • When it fires: FluentCRM contact statuses that FluentCommunity treats as undeliverable. Emails to contacts with these statuses are skipped for notification emails.

Parameters ​

#NameTypeDescription
1$statusesarrayContact statuses to skip. Default: bounced, complained, spammed.

Call Sites ​

EditionSourceParameters
Corefluent-community/app/Services/Helper.php:3326[ 'bounced', 'complained', 'spammed' ] (array)
Corefluent-community/app/Services/Helper.php:3350[ 'bounced', 'complained', 'spammed' ] (array)

Example ​

php
add_filter('fluent_community/undeliverable_crm_contact_statuses', function ($statuses) {
    return $statuses;
}, 10, 1);

FluentCommunity developer documentation