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.
// 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
-
sbr_before_feed_end
action/** * 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 ); -
sbr_feed_locations_meta_keys
filter/** * Filters the post meta keys searched for builder-placed feeds. */ apply_filters( 'sbr_feed_locations_meta_keys', array('_elementor_data') ); -
sbr_abilities
filter/** * Filters the abilities registered by Reviews Feed. */ apply_filters( 'sbr_abilities', $abilities ); -
sbr_abilities_feed_deleted
action/** * Fires after a feed was deleted through the ability-initiated, * browser-confirmed flow. */ do_action( 'sbr_abilities_feed_deleted', $feed_id ); -
/** * 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) ); -
/** * Fires after an AI agent updated global settings through the Abilities API. */ do_action( 'sbr_abilities_global_settings_updated', $updated ); -
sbr_after_feed_saved
action/** * Fires after a feed's settings are written. */ do_action( 'sbr_after_feed_saved', $this->get_feed_id() ); -
sbr_badge_cache_ttl
filter/** * How long a badge's cached aggregate stays fresh. */ apply_filters( 'sbr_badge_cache_ttl', HOUR_IN_SECONDS, $feed_id ); -
sbr_badge_gd_font
filter/** * Filters the font file the GD badge renderer draws with. */ apply_filters( 'sbr_badge_gd_font', $found ); -
/** * Filters the post types searched for badge placements. */ apply_filters( 'sbr_badge_instance_post_types', DB::scanned_post_types() ); -
sbr_badge_negative_cache_ttl
filter/** * How long a failed badge lookup is remembered before retrying. */ apply_filters( 'sbr_badge_negative_cache_ttl', 5 * MINUTE_IN_SECONDS ); -
sbr_edd_max_downloads
filter/** * Filter the maximum number of downloads allowed in a multi-download EDD * source. */ apply_filters( 'sbr_edd_max_downloads', 500 ); -
/** * Filters the post types the feed-location scan looks at. */ apply_filters( 'sbr_feed_locations_post_types', $post_types ); -
/** * Filters how many embedding posts one scan examines. */ apply_filters( 'sbr_feed_locations_scan_limit', self::FEED_LOCATIONS_SCAN_LIMIT ); -
/** * Filters the builder widget types treated as a Reviews feed placement. */ apply_filters( 'sbr_feed_locations_widget_types', array('sb-reviews-feed') ); -
sbr_google_api_language
filter/** * 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 ); -
sbr_trust_badge_builder_data
filter/** * Filter the data handed to the Trust Badges screens. */ apply_filters( 'sbr_trust_badge_builder_data', $data ); -
sbr_woocommerce_max_products
filter/** * Filter the maximum number of products allowed in a multi-product WooCommerce * source. */ apply_filters( 'sbr_woocommerce_max_products', 500 ); -
upgrader_clear_destination
filter/** * Filters whether the upgrader cleared the destination. */ apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] ); -
upgrader_package_options
filter/** * Filters the package options before running an update. */ apply_filters( 'upgrader_package_options', $options ); -
upgrader_post_install
filter/** * Filters the installation response after the installation has finished. */ apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result ); -
upgrader_pre_download
filter/** * Filters whether to return the package. */ apply_filters( 'upgrader_pre_download', false, $package, $this ); -
upgrader_pre_install
filter/** * Filters the install response before the installation has started. */ apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] ); -
upgrader_process_complete
action/** * Fires when the upgrader process is complete. */ do_action( 'upgrader_process_complete', $this, $options['hook_extra'] ); -
upgrader_source_selection
filter/** * Filters the source file location for the upgrade package. */ apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] ); -
apply_filters( 'sbr_settings_pages_capability', $cap ); -
sbr_admin_notices_filter
filterapply_filters( 'sbr_admin_notices_filter', 1 ); -
sbr_after_feed
actiondo_action( 'sbr_after_feed', $posts, $settings ); -
sbr_before_feed
actiondo_action( 'sbr_before_feed', $posts, $settings ); -
apply_filters( 'sbr_smash_usage_tracking_request_timeout', Config::REQUEST_TIMEOUT ); -
http_request_timeout
filterapply_filters( 'http_request_timeout', 5 ); -
litespeed_purge_all
actiondo_action( 'litespeed_purge_all' ); -
sbr_abilities_max_feeds
filterapply_filters( 'sbr_abilities_max_feeds', 50 ); -
apply_filters( 'sbr_admin_notifications_has_access', $access ); -
sbr_after_cron_refresh
actiondo_action( 'sbr_after_cron_refresh', $refreshed_feed_ids ); -
sbr_allowed_review_text_tags
filterapply_filters( 'sbr_allowed_review_text_tags', $default ); -
sbr_app_permission_revoked
actiondo_action( 'sbr_app_permission_revoked', $connected_account ); -
sbr_badge_image_ttl
filterapply_filters( 'sbr_badge_image_ttl', HOUR_IN_SECONDS, $badge_id ); -
sbr_badge_instance_meta_keys
filterapply_filters( 'sbr_badge_instance_meta_keys', array( '_elementor_data' ) ); -
sbr_before_shortcode_render
actiondo_action( 'sbr_before_shortcode_render', $settings ); -
sbr_embed_target_post_types
filterapply_filters( 'sbr_embed_target_post_types', $names ); -
sbr_embed_targets_limit
filterapply_filters( 'sbr_embed_targets_limit', $limit ); -
apply_filters( 'sbr_enable_immediate_refresh_on_clear', true ); -
sbr_enable_schema
filterapply_filters( 'sbr_enable_schema', $enabled ); -
apply_filters( 'sbr_force_keyless_refetch_on_clear', true ); -
apply_filters( 'sbr_reset_relay_fetch_window_on_clear', true ); -
sbr_resize_url
filterapply_filters( 'sbr_resize_url', trailingslashit($base_url) ); -
apply_filters( 'sbr_review_alert_page_post_types', $page_types ); -
sbr_review_alert_pages_limit
filterapply_filters( 'sbr_review_alert_pages_limit', 300 ); -
sbr_schema_emit_for_feed
filterapply_filters( 'sbr_schema_emit_for_feed', true, $feed_id ); -
sbr_should_do_ajax_locating
filterapply_filters( 'sbr_should_do_ajax_locating', $should_do_locating ); -
sbr_should_do_locating
filterapply_filters( 'sbr_should_do_locating', $should_do_locating ); -
apply_filters( 'sbr_smash_usage_tracking_api_url', $default ); -
apply_filters( 'sbr_smash_usage_tracking_max_payload_bytes', Config::MAX_PAYLOAD_BYTES ); -
sbr_supported_providers
filterapply_filters( 'sbr_supported_providers', [] ); -
sbr_use_theme_templates
filterapply_filters( 'sbr_use_theme_templates', $settings_custom_templates ); -
sby_render_shortcode
filterapply_filters( 'sby_render_shortcode', $attr, $settings ); -
widget_title
filterapply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); -
wp_login
actiondo_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: