Reviews Feed icon
Social Media

Reviews Feed hooks reference

  • By Syed Balkhi
  • v2.18.0 New
  • Updated

Reviews Feed 2.18.0 has 13 actions and 46 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 Reviews Feed fires an action
add_action( 'sbr_before_feed_end', function( $object, $feed_id ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Reviews Feed is about to use
add_filter( 'sbr_feed_locations_meta_keys', 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

  • templates/frontend/lite/feed.php line 63 · used in 2 places
    /**
     * 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( 'sbr_before_feed_end', $this, $feed_id );
  • class/Common/Customizer/DB.php line 1237 · used in 2 places
    /**
     * Filters the post meta keys searched for builder-placed feeds.
     */
    apply_filters( 'sbr_feed_locations_meta_keys', array('_elementor_data') );
  • sbr_abilities

    filter
    class/Common/Abilities/SBR_Abilities.php line 457
    /**
     * Filters the abilities registered by Reviews Feed.
     */
    apply_filters( 'sbr_abilities', $abilities );
  • class/Common/Abilities/SBR_Delete_Confirmation.php line 214
    /**
     * Fires after a feed was deleted through the ability-initiated,
     * browser-confirmed flow.
     */
    do_action( 'sbr_abilities_feed_deleted', $feed_id );
  • class/Common/Abilities/Services/SBR_Feed_Settings_Service.php line 254
    /**
     * Fires after an AI agent updated one feed's settings through the Abilities
     * API. Symmetry with sbr_abilities_global_settings_updated.
     */
    do_action( 'sbr_abilities_feed_settings_updated', (int) $feed_id, array_keys($partial) );
  • class/Common/Abilities/Services/SBR_Global_Settings_Service.php line 99
    /**
     * Fires after an AI agent updated global settings through the Abilities API.
     */
    do_action( 'sbr_abilities_global_settings_updated', $updated );
  • class/Common/Builder/SBR_Feed_Saver.php line 205
    /**
     * Fires after a feed's settings are written.
     */
    do_action( 'sbr_after_feed_saved', $this->get_feed_id() );
  • class/Common/Badges/SBR_Badge_Renderer.php line 1592
    /**
     * How long a badge's cached aggregate stays fresh.
     */
    apply_filters( 'sbr_badge_cache_ttl', HOUR_IN_SECONDS, $feed_id );
  • class/Common/Badges/SBR_Badge_Gd.php line 163
    /**
     * Filters the font file the GD badge renderer draws with.
     */
    apply_filters( 'sbr_badge_gd_font', $found );
  • class/Common/Badges/SBR_Trust_Badge_Store.php line 770
    /**
     * Filters the post types searched for badge placements.
     */
    apply_filters( 'sbr_badge_instance_post_types', DB::scanned_post_types() );
  • class/Common/Badges/SBR_Badge_Renderer.php line 1983
    /**
     * How long a failed badge lookup is remembered before retrying.
     */
    apply_filters( 'sbr_badge_negative_cache_ttl', 5 * MINUTE_IN_SECONDS );
  • class/Common/Builder/SBR_New_Providers_Manager.php line 2766
    /**
     * Filter the maximum number of downloads allowed in a multi-download EDD
     * source.
     */
    apply_filters( 'sbr_edd_max_downloads', 500 );
  • class/Common/Customizer/DB.php line 1794
    /**
     * Filters the post types the feed-location scan looks at.
     */
    apply_filters( 'sbr_feed_locations_post_types', $post_types );
  • class/Common/Customizer/DB.php line 1224
    /**
     * Filters how many embedding posts one scan examines.
     */
    apply_filters( 'sbr_feed_locations_scan_limit', self::FEED_LOCATIONS_SCAN_LIMIT );
  • class/Common/Customizer/DB.php line 1493
    /**
     * Filters the builder widget types treated as a Reviews feed placement.
     */
    apply_filters( 'sbr_feed_locations_widget_types', array('sb-reviews-feed') );
  • class/Common/Util.php line 1285
    /**
     * Filter the language code sent to the provider API (e.g. Google Places). Lets
     * a site map an unsupported locale to a supported one, e.g. a WPML `es-mx`
     * site forcing `es-419` for Latin American Spanish. SMASH-1617. Read the
     * current WPML language inside the callback (apply_filters
     * 'wpml_current_language') if you need per-page context.
     */
    apply_filters( 'sbr_google_api_language', $language );
  • class/Common/Badges/SBR_Trust_Badge_Builder.php line 692
    /**
     * Filter the data handed to the Trust Badges screens.
     */
    apply_filters( 'sbr_trust_badge_builder_data', $data );
  • class/Common/Builder/SBR_New_Providers_Manager.php line 1189
    /**
     * Filter the maximum number of products allowed in a multi-product WooCommerce
     * source.
     */
    apply_filters( 'sbr_woocommerce_max_products', 500 );
  • class/Common/Helpers/PluginSilentUpgrader.php line 524
    /**
     * Filters whether the upgrader cleared the destination.
     */
    apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] );
  • class/Common/Helpers/PluginSilentUpgrader.php line 107
    /**
     * Filters the package options before running an update.
     */
    apply_filters( 'upgrader_package_options', $options );
  • class/Common/Helpers/PluginSilentUpgrader.php line 575
    /**
     * Filters the installation response after the installation has finished.
     */
    apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result );
  • class/Common/Helpers/PluginSilentUpgrader.php line 296
    /**
     * Filters whether to return the package.
     */
    apply_filters( 'upgrader_pre_download', false, $package, $this );
  • class/Common/Helpers/PluginSilentUpgrader.php line 446
    /**
     * Filters the install response before the installation has started.
     */
    apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] );
  • class/Common/Helpers/PluginSilentUpgrader.php line 238
    /**
     * Fires when the upgrader process is complete.
     */
    do_action( 'upgrader_process_complete', $this, $options['hook_extra'] );
  • class/Common/Helpers/PluginSilentUpgrader.php line 479
    /**
     * Filters the source file location for the upgrade package.
     */
    apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] );
  • class/Common/Admin/MenuService.php line 39 · used in 8 places
    apply_filters( 'sbr_settings_pages_capability', $cap );
  • class/Common/Admin/SBR_About_Builder.php line 51 · used in 5 places
    apply_filters( 'sbr_admin_notices_filter', 1 );
  • class/Common/FeedDisplay.php line 95 · used in 2 places
    do_action( 'sbr_after_feed', $posts, $settings );
  • class/Common/FeedDisplay.php line 91 · used in 2 places
    do_action( 'sbr_before_feed', $posts, $settings );
  • class/Common/UsageTracking/Core/RegisterSite.php line 48 · used in 2 places
    apply_filters( 'sbr_smash_usage_tracking_request_timeout', Config::REQUEST_TIMEOUT );
  • class/Common/Integrations/SBRelay.php line 271
    apply_filters( 'http_request_timeout', 5 );
  • class/Common/Builder/SBR_Feed_Saver_Manager.php line 1818
    do_action( 'litespeed_purge_all' );
  • class/Common/Abilities/Abilities/SBR_Create_Feed.php line 112
    apply_filters( 'sbr_abilities_max_feeds', 50 );
  • class/Common/Admin/SBR_Notifications.php line 124
    apply_filters( 'sbr_admin_notifications_has_access', $access );
  • class/Common/FeedCacheUpdater.php line 59
    do_action( 'sbr_after_cron_refresh', $refreshed_feed_ids );
  • class/sbr-functions.php line 789
    apply_filters( 'sbr_allowed_review_text_tags', $default );
  • class/Common/Error_Reporter.php line 152
    do_action( 'sbr_app_permission_revoked', $connected_account );
  • class/Common/Badges/SBR_Badge_Image.php line 338
    apply_filters( 'sbr_badge_image_ttl', HOUR_IN_SECONDS, $badge_id );
  • class/Common/Badges/SBR_Trust_Badge_Store.php line 1287
    apply_filters( 'sbr_badge_instance_meta_keys', array( '_elementor_data' ) );
  • class/Common/Services/ShortcodeService.php line 35
    do_action( 'sbr_before_shortcode_render', $settings );
  • class/Common/SBR_Embed_Targets.php line 110
    apply_filters( 'sbr_embed_target_post_types', $names );
  • class/Common/SBR_Embed_Targets.php line 96
    apply_filters( 'sbr_embed_targets_limit', $limit );
  • class/Common/Builder/SBR_Feed_Saver_Manager.php line 1580
    apply_filters( 'sbr_enable_immediate_refresh_on_clear', true );
  • class/Common/SBR_Schema_Service.php line 158
    apply_filters( 'sbr_enable_schema', $enabled );
  • class/Common/Builder/SBR_Feed_Saver_Manager.php line 1563
    apply_filters( 'sbr_force_keyless_refetch_on_clear', true );
  • class/Common/Builder/SBR_Feed_Saver_Manager.php line 1542
    apply_filters( 'sbr_reset_relay_fetch_window_on_clear', true );
  • class/Common/PostAggregator.php line 329
    apply_filters( 'sbr_resize_url', trailingslashit($base_url) );
  • class/Common/ReviewAlerts/SBR_ReviewAlert_Builder.php line 318
    apply_filters( 'sbr_review_alert_page_post_types', $page_types );
  • class/Common/ReviewAlerts/SBR_ReviewAlert_Builder.php line 324
    apply_filters( 'sbr_review_alert_pages_limit', 300 );
  • class/Common/SBR_Schema_Service.php line 260
    apply_filters( 'sbr_schema_emit_for_feed', true, $feed_id );
  • class/Common/Feed_Locator.php line 261
    apply_filters( 'sbr_should_do_ajax_locating', $should_do_locating );
  • class/Common/Feed_Locator.php line 239
    apply_filters( 'sbr_should_do_locating', $should_do_locating );
  • class/Common/UsageTracking/Config.php line 88
    apply_filters( 'sbr_smash_usage_tracking_api_url', $default );
  • class/Common/UsageTracking/Core/Sender.php line 53
    apply_filters( 'sbr_smash_usage_tracking_max_payload_bytes', Config::MAX_PAYLOAD_BYTES );
  • class/Common/Admin/MenuService.php line 58
    apply_filters( 'sbr_supported_providers', [] );
  • class/sbr-functions.php line 337
    apply_filters( 'sbr_use_theme_templates', $settings_custom_templates );
  • class/Common/Customizer/ShortcodePreviewProvider.php line 10
    apply_filters( 'sby_render_shortcode', $attr, $settings );
  • widget_title

    filter
    class/Common/Badges/SBR_Badge_Widget.php line 74
    apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );
  • wp_login

    action
    class/Common/Admin/SBR_Support_Tool.php line 186
    do_action( 'wp_login', $user_login, $temp_user );

Generated from Reviews 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: