Inavii Social Feed 3.0.4 has 16 actions and 35 filters , read directly from its source code on Nov 17, 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.
php functions.phpyour child theme Copy
// Run your own code when Inavii Social Feed fires an action
add_action( 'inavii/social-feed/account/connected', function( $arg1, $arg2, $connectType ) {
// Your code runs here.
}, 10, 3 );
// Change a value Inavii Social Feed is about to use
add_filter( 'inavii/social-feed/media/fetch_limit', function( $limit ) {
// Change $limit here.
return $limit;
}, 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
php core/Account/Application/UseCase/ConnectAccount.php
line 48
Example
/**
* Fires after an account is connected.
*/
do_action( 'inavii/social-feed/account/connected', $account->id(), $account->igAccountId(), $connectType );
php core/Account/Application/UseCase/DeleteAccount.php
line 35
Example
/**
* Fires before an account is deleted.
*/
do_action( 'inavii/social-feed/account/deleted', $accountId, $igAccountId, $account->avatar() );
php core/Feed/Application/UseCase/CreateFeed.php
line 39
Example
/**
* Fires after a feed has been created.
*/
do_action( 'inavii/social-feed/feed/created', $feed );
php core/Feed/Application/UseCase/DeleteFeed.php
line 29
Example
/**
* Fires after a feed has been deleted.
*/
do_action( 'inavii/social-feed/feed/deleted', $feedId, $feed );
php core/Media/Source/Application/SyncFeedSources.php
line 83
Example
/**
* Fires after feed sources have been synchronized.
*/
do_action( 'inavii/social-feed/feed/sources/synced', $feedId, $desiredSourceIds );
php core/Feed/Application/UseCase/UpdateFeedSettings.php
line 53
Example
/**
* Fires after feed settings have been updated.
*/
do_action( 'inavii/social-feed/feed/updated', $feed );
php core/Account/Application/UseCase/ConnectAccount.php
line 49 · used in 6 places
Example
do_action( 'inavii/social-feed/front-index/rebuild', [ 'igAccountId' => $account->igAccountId() ] );
php core/InstagramApi/Media/MediaApi.php
line 59 · used in 4 places
Example
apply_filters( 'inavii/social-feed/media/fetch_limit', $limit );
php core/Logger/Admin/DebugPage.php
line 76 · used in 3 places
Example
apply_filters( 'inavii/social-feed/logs/max_entries', 100 );
php core/Feed/Application/FeedService.php
line 57 · used in 2 places
Example
do_action( 'inavii/social-feed/front-index/delete', [ 'feedId' => $feedId ] );
php freemius.php
line 58
Example
do_action( 'inavii_social_feed_e_fs_loaded' );
php core/Account/Domain/Policy/TokenRefreshPolicy.php
line 74
Example
apply_filters( 'inavii/social-feed/account/token/refresh_before_expiry_seconds', self::DEFAULT_REFRESH_BEFORE_EXPIRY_SECONDS );
php core/Cron/CronFallback.php
line 292
Example
apply_filters( 'inavii/social-feed/account/token/refresh_overdue', $default );
php core/Front/Config.php
line 53
Example
apply_filters( 'inavii/social-feed/config', $config );
php core/RestApi/RegisterRestApiV2.php
line 210
Example
apply_filters( 'inavii/social-feed/cron/ping/public', true, $request );
php core/RestApi/RegisterRestApiV2.php
line 272
Example
apply_filters( 'inavii/social-feed/cron/ping/request_interval', self::DEFAULT_CRON_PING_REQUEST_INTERVAL );
php includes/Legacy/Integration/WidgetsManager.php
line 66
Example
apply_filters( 'inavii/social-feed/elementor/register_legacy_widget', true );
php core/FrontIndex/Domain/Policy/PayloadCountPolicy.php
line 14
Example
apply_filters( 'inavii/social-feed/front-index/payload_limit', self::DEFAULT_BASE_PAYLOAD_LIMIT );
php includes/Integration/Editor/InaviiFeedBlock.php
line 102
Example
do_action( 'inavii/social-feed/front/enqueue_editor_preview_assets' );
php includes/Integration/Elementor/InaviiFeedWidget.php
line 91
Example
do_action( 'inavii/social-feed/front/enqueue_front_app_assets' );
php core/Front/Render.php
line 148
Example
do_action( 'inavii/social-feed/front/enqueue_mode_aware_assets' );
php core/Front/Domain/Policy/GlobalFeedVisibilityPolicy.php
line 17
Example
apply_filters( 'inavii/social-feed/front/global/enabled', true, $feedId );
php core/Front/Domain/Policy/GlobalFeedVisibilityPolicy.php
line 25
Example
apply_filters( 'inavii/social-feed/front/global/excluded_page_ids', [], $feedId );
php core/Front/Domain/Policy/PreloadMediaPolicy.php
line 22
Example
apply_filters( 'inavii/social-feed/front/preload_limit', self::DEFAULT_PRELOAD_LIMIT );
php core/Config/Troubleshooting/HealthDiagnostics.php
line 52
Example
apply_filters( 'inavii/social-feed/health/cache_ttl', 900 );
php core/Config/Bootstrap.php
line 199
Example
apply_filters( 'inavii/social-feed/install/allow_front', false );
php includes/Legacy/Assets/LegacyFrontAssetsLoader.php
line 226
Example
apply_filters( 'inavii/social-feed/legacy/assets/should_load', $detected, $postIds );
php includes/Legacy/Assets/LegacyFrontAssetsLoader.php
line 300
Example
apply_filters( 'inavii/social-feed/legacy/assets/widget_types', [ self::LEGACY_WIDGET_TYPE ] );
php core/Logger/Admin/DebugPage.php
line 672
Example
apply_filters( 'inavii/social-feed/logs/debug_view_enabled', false );
php core/Logger/Logger.php
line 103
Example
apply_filters( 'inavii/social-feed/logs/enabled', true );
php core/Media/Files/MediaPaths.php
line 84
Example
apply_filters( 'inavii/social-feed/media/image_extension', 'webp', $context );
php core/Media/Files/ImageGenerator.php
line 41
Example
apply_filters( 'inavii/social-feed/media/image_quality', 80, $context, $preferredExt );
php core/Media/Files/MediaFileWorker.php
line 179
Example
apply_filters( 'inavii/social-feed/media/image_width', $default, $context );
php core/Media/Application/UseCase/FetchMedia.php
line 135
Example
apply_filters( 'inavii/social-feed/media/import_files', true, $sourceKind, $sourceKey );
php core/Media/Domain/MissingMediaCleanupPolicy.php
line 42
Example
apply_filters( 'inavii/social-feed/media/missing_cleanup_limit', $limit, $sourceKind, $sourceKey );
php core/Media/Domain/MissingMediaCleanupPolicy.php
line 17
Example
apply_filters( 'inavii/social-feed/media/missing_cleanup_mode', $mode, $sourceKind, $sourceKey );
php core/Media/Domain/MissingMediaCleanupPolicy.php
line 65
Example
apply_filters( 'inavii/social-feed/media/missing_cleanup_time_budget', $seconds, $sourceKind, $sourceKey );
php core/Media/Domain/MediaRetentionPolicy.php
line 25
Example
apply_filters( 'inavii/social-feed/media/retention_days', $days, $kind, $sourceKey );
php core/Feed/Domain/Policy/SourceMixModePolicy.php
line 11
Example
apply_filters( 'inavii/social-feed/media/source_mix_mode', self::MODE_OVERALL, $feedId, $sourceKeys, $filters );
php core/Media/Source/Domain/SourceRetentionPolicy.php
line 50
Example
apply_filters( 'inavii/social-feed/media/source/default_max_items', $globalDefault, $sourceKind, $sourceKey );
php core/Media/Source/Domain/SourceCleanupPolicy.php
line 30
Example
apply_filters( 'inavii/social-feed/media/source/disabled_cleanup_days', self::DEFAULT_DISABLED_DAYS );
php core/Media/Source/Domain/SourceRetentionPolicy.php
line 17
Example
apply_filters( 'inavii/social-feed/media/source/max_items', $max, $sourceKind, $sourceKey );
php core/Cron/CronFallback.php
line 267
Example
apply_filters( 'inavii/social-feed/media/sync/direct_fallback_enabled', true );
php core/Media/Application/UseCase/FetchMedia.php
line 111
Example
do_action( 'inavii/social-feed/media/sync/error', $sourceLabel, $e->getMessage() );
php core/Media/Application/UseCase/FetchMedia.php
line 103
Example
do_action( 'inavii/social-feed/media/sync/finished', $sourceKey, $savedCount, count( $items ) );
php core/Cron/CronFallback.php
line 156
Example
apply_filters( 'inavii/social-feed/media/sync/ping_enabled', true );
php core/Cron/CronFallback.php
line 170
Example
apply_filters( 'inavii/social-feed/media/sync/ping_interval', self::DEFAULT_PING_INTERVAL );
php core/Media/Application/UseCase/FetchMedia.php
line 66
Example
do_action( 'inavii/social-feed/media/sync/started', $sourceLabel, $source->kind() );
php core/Media/Storage/MediaPostsRepository.php
line 985
Example
apply_filters( 'inavii/social-feed/media/top_recent_ratio', self::TOP_RECENT_RATIO );
php core/Config/Plugin.php
line 122
Example
apply_filters( 'inavii/social-feed/ui_version', self::storedUiVersion() );
php includes/Integration/Cache/LiteSpeedOptimizeIntegration.php
line 43
Example
do_action( 'litespeed_control_set_nocache', 'Inavii REST API endpoint' );
Generated from Inavii Social Feed'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 this
Plugin 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 this
Can't find the right hook?
We can build the customisation for you. Describe what you need: