Smash Balloon Social Photo Feed icon
Social Media

Smash Balloon Social Photo Feed hooks reference

  • By Syed Balkhi
  • v6.16.0 New
  • Updated

Smash Balloon Social Photo Feed 6.16.0 has 16 actions and 44 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.

functions.phpyour child theme
// Run your own code when Smash Balloon Social Photo Feed fires an action
add_action( 'sbi_abilities_feed_settings_updated', function( $feed_id, $updated ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Smash Balloon Social Photo Feed is about to use
add_filter( 'sbi_abilities', function( $abilities ) {
	// Change $abilities here.
	return $abilities;
}, 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

  • inc/Abilities/Services/SBI_Feed_Settings_Service.php line 311 · used in 4 places
    /**
     * Fires after an AI agent updated a feed through the Abilities API.
     */
    do_action( 'sbi_abilities_feed_settings_updated', $feed_id, $updated );
  • admin/builder/templates/screens/welcome.php line 10 · used in 4 places
    /**
     * CFF Admin Notices
     */
    do_action( 'sbi_admin_notices' );
  • admin/builder/templates/sections/header.php line 9 · used in 4 places
    /**
     * SBI Header Notices
     */
    do_action( 'sbi_header_notices' );
  • sbi_abilities

    filter
    inc/Abilities/SBI_Abilities.php line 441
    /**
     * Filters the abilities registered by Instagram Feed.
     */
    apply_filters( 'sbi_abilities', $abilities );
  • inc/Abilities/SBI_Delete_Confirmation.php line 197
    /**
     * Fires after a feed was deleted through the ability-initiated,
     * browser-confirmed flow.
     */
    do_action( 'sbi_abilities_feed_deleted', $feed_id );
  • inc/Abilities/Services/SBI_Global_Settings_Service.php line 126
    /**
     * Fires after an AI agent updated global settings through the Abilities API.
     */
    do_action( 'sbi_abilities_global_settings_updated', $updated );
  • inc/class-sb-instagram-api-connect.php line 282
    /**
     * Api response for instagram connection
     */
    do_action( 'sbi_api_connect_response', $response, $this->url );
  • inc/class-sb-instagram-posts-manager.php line 265
    /**
     * Fires when an app permission related error is encountered
     */
    do_action( 'sbi_app_permission_revoked', $connected_account );
  • templates/feed.php line 33
    /**
     * Add HTML or execute code before the feed displays. sbi_after_feed works the
     * same way but executes after the feed
     */
    do_action( 'sbi_before_feed', $posts, $settings );
  • templates/feed.php line 62
    /**
     * Things to add before the closing "div" tag for the main feed element.
     * Several features rely on this hook such as local images and some error
     * messages
     */
    do_action( 'sbi_before_feed_end', $this, $feed_id );
  • inc/class-sb-instagram-feed.php line 633
    /**
     * Number of posts to retrieve in each API call
     */
    apply_filters( 'sbi_num_in_request', $settings['minnum'], $settings );
  • inc/class-sb-instagram-single.php line 379
    /**
     * Filter the restructured post data from Media API
     */
    apply_filters( 'sbi_single_parse_and_restructure', $return, $data, $this->permalink, $this->permalink_id );
  • inc/class-sb-instagram-feed.php line 1234
    /**
     * Apply a custom sorting of posts
     */
    apply_filters( 'sbi_sorted_posts', $return_post_set, $settings );
  • inc/admin/PluginSilentUpgrader.php line 486
    /**
     * Filters whether the upgrader cleared the destination.
     */
    apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] );
  • inc/admin/PluginSilentUpgrader.php line 104
    /**
     * Filters the package options before running an update.
     */
    apply_filters( 'upgrader_package_options', $options );
  • inc/admin/PluginSilentUpgrader.php line 536
    /**
     * Filters the installation response after the installation has finished.
     */
    apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result );
  • inc/admin/PluginSilentUpgrader.php line 264
    /**
     * Filters whether to return the package.
     */
    apply_filters( 'upgrader_pre_download', false, $package, $this );
  • inc/admin/PluginSilentUpgrader.php line 410
    /**
     * Filters the install response before the installation has started.
     */
    apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] );
  • inc/admin/PluginSilentUpgrader.php line 235
    /**
     * Fires when the upgrader process is complete.
     */
    do_action( 'upgrader_process_complete', $this, $options['hook_extra'] );
  • inc/admin/PluginSilentUpgrader.php line 442
    /**
     * Filters the source file location for the upgrade package.
     */
    apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] );
  • admin/SBI_Admin_Notices.php line 99 · used in 14 places
    apply_filters( 'sbi_settings_pages_capability', $cap );
  • inc/admin/class-sbi-account-connector.php line 274
    do_action( 'sbi_account_connector_after_update', $this->account_data );
  • inc/admin/class-sbi-notifications.php line 159
    apply_filters( 'sbi_admin_notifications_has_access', $access );
  • inc/admin/actions.php line 201
    apply_filters( 'sbi_admin_strings', $strings );
  • inc/if-functions.php line 1279
    do_action( 'sbi_after_clear_all_feed_caches' );
  • templates/feed.php line 65
    do_action( 'sbi_after_feed', $posts, $settings );
  • instagram-feed.php line 1092
    apply_filters( 'sbi_auto_clear_cache_on_upgrade', true, (string) $stored_version, SBI_CACHE_VERSION );
  • inc/BackupCacheMonitor.php line 118
    apply_filters( 'sbi_backup_cache_stale_threshold_days', 7 );
  • inc/BackupCacheMonitor.php line 128
    apply_filters( 'sbi_backup_cache_urgent_threshold_days', 21 );
  • inc/class-sb-instagram-data-manager.php line 198
    do_action( 'sbi_before_delete_old_data', $statuses );
  • inc/if-functions.php line 21
    do_action( 'sbi_before_display_instagram' );
  • instagram-feed.php line 1062
    apply_filters( 'sbi_cache_invalidation_registry', array( '1' => 'SMASH-1105: trial-reel filter needs fresh is_shared_to_feed field', ) );
  • inc/if-functions.php line 1289
    apply_filters( 'sbi_clear_page_caches', true );
  • inc/class-sb-instagram-settings.php line 153
    apply_filters( 'sbi_connected_accounts', $this->connected_accounts, $this->atts );
  • inc/if-functions.php line 867
    apply_filters( 'sbi_database_settings', $return_settings );
  • inc/class-sb-instagram-cron-updater.php line 172
    apply_filters( 'sbi_feed_cache_option_names', array() );
  • inc/if-functions.php line 923
    apply_filters( 'sbi_feed_template_part', $file, $part, $settings );
  • sbi_flags

    filter
    inc/class-sb-instagram-feed.php line 1605
    apply_filters( 'sbi_flags', $flags, $settings );
  • inc/class-sb-instagram-parse.php line 543
    apply_filters( 'sbi_hide_trial_reels', true );
  • inc/class-sb-instagram-posts-manager.php line 661
    apply_filters( 'sbi_image_resizing_disabled', $disable_resizing, $data );
  • sbi_img_alt

    filter
    templates/item.php line 35
    apply_filters( 'sbi_img_alt', $caption, $post );
  • templates/item.php line 55
    apply_filters( 'sbi_img_screenreader', $img_screenreader, $post );
  • inc/class-sb-instagram-posts-manager.php line 1310
    apply_filters( 'sbi_is_api_delay', $is_delay );
  • inc/Helpers/Util.php line 217
    apply_filters( 'sbi_legacy_css_enabled', $legacy_css_enabled );
  • inc/class-sb-instagram-feed.php line 1402
    apply_filters( 'sbi_max_cache_size', 500 );
  • inc/class-sb-instagram-feed.php line 142
    apply_filters( 'sbi_max_concurrent_api_calls', 10 );
  • sbi_output

    filter
    inc/Integrations/Elementor/SBI_Elementor_Widget.php line 167
    apply_filters( 'sbi_output', $output, $settings );
  • inc/class-sb-instagram-feed.php line 964
    apply_filters( 'sbi_passes_filter', $keep_post, $post, $settings );
  • inc/if-functions.php line 1069
    apply_filters( 'sbi_resize_url', trailingslashit($base_url) . trailingslashit(SBI_UPLOADS_NAME) );
  • inc/class-sb-instagram-feed-locator.php line 323
    apply_filters( 'sbi_should_do_ajax_locating', $should_do_locating );
  • inc/class-sb-instagram-feed-locator.php line 288
    apply_filters( 'sbi_should_do_locating', $should_do_locating );
  • inc/Helpers/Util.php line 162
    apply_filters( 'sbi_show_legacy_css_settings', $show_legacy_css_settings );
  • inc/UsageTracking/Config.php line 84
    apply_filters( 'sbi_smash_usage_tracking_api_url', $url );
  • inc/UsageTracking/Core/Sender.php line 33
    apply_filters( 'sbi_smash_usage_tracking_max_payload_bytes', Config::MAX_PAYLOAD_BYTES );
  • inc/UsageTracking/Core/Sender.php line 41
    apply_filters( 'sbi_smash_usage_tracking_request_timeout', Config::REQUEST_TIMEOUT );
  • inc/if-functions.php line 881
    apply_filters( 'sbi_use_theme_templates', $settings['customtemplates'] );
  • inc/class-sb-instagram-connected-account.php line 391
    apply_filters( 'sbi_webp_supported', $webp_supported );
  • inc/Builder/SBI_Source.php line 1079
    apply_filters( 'should_do_source_updates', $should_do_source_updates );
  • widget_title

    filter
    widget.php line 27
    apply_filters( 'widget_title', $instance['title'] );
  • wp_login

    action
    admin/SBI_Support_Tool.php line 166
    do_action( 'wp_login', $user_login, $temp_user );

Generated from Smash Balloon Social Photo Feed's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: