Real Testimonials 4.1.2 has 22 actions and 31 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 Real Testimonials fires an action
add_action( 'media_buttons', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Real Testimonials is about to use
add_filter( 'shapedplugin_bfcm_2026_active', function( $active ) {
// Change $active here.
return $active;
}, 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
-
/** * Filters whether the BFCM 2026 notice campaign is active. */ apply_filters( 'shapedplugin_bfcm_2026_active', $active ); -
/** * Filter whether Build with AI is available. */ apply_filters( 'sp_real_ai_builder_enabled', BlocksHelper::is_active_module( self::MODULE ) && ConnectorBridge::site_allows_ai() ); -
/** * Filter the AI provider request timeout (seconds). */ apply_filters( 'sp_real_ai_request_timeout', 60, $url ); -
apply_filters( 'sp_tfree_ui_permission', 'manage_options' ); -
apply_filters( 'sp_real_testimonial_ui_permission', 'manage_options' ); -
apply_filters( 'sp_testimonial_import_export_user_capability', 'manage_options' ); -
apply_filters( "spftestimonial_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this ); -
apply_filters( "spftestimonial_{$this->unique}_save", $data, $post_id, $this ); -
do_action( "spftestimonial_{$this->unique}_save_after", $data, $post_id, $this ); -
do_action( "spftestimonial_{$this->unique}_save_before", $data, $post_id, $this ); -
do_action( "spftestimonial_{$this->unique}_saved", $data, $post_id, $this ); -
apply_filters( "spftestimonial_{$this->unique}_sections", $params['sections'], $this ); -
apply_filters( 'spftestimonial_fa4', false ); -
apply_filters( 'the_content', $post->post_content ); -
do_action( 'media_buttons' ); -
apply_filters( 'sp_testimonial_allow_import_tags', false ); -
apply_filters( 'sp_testimonial_post_type_args', array( 'label' => $singular_name, 'description' => wp_sprintf( __( '%s custom post type.', 'testimonial-free' ), esc_html( $singular_name ) ), 'taxonomies' => array(), 'public' => false, 'has_archive' => false, 'publicly_queryable' => false, 'query_var' => false, 'show_ui' => $show_ui, 'show_in_menu' => true, 'menu_icon' => 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxzdmcgeG1sbnM9... ); -
apply_filters( 'sp_testimonial_post_type_labels', array( 'name' => wp_sprintf( __( 'All %s', 'testimonial-free' ), esc_html( $plural_name ) ), 'singular_name' => $singular_name, 'menu_name' => __( 'Real Testimonials', 'testimonial-free' ), 'all_items' => wp_sprintf( __( 'All %s', 'testimonial-free' ), esc_html( $plural_name ) ), 'add_new' => __( 'Add New', 'testimonial-free' ), 'add_new_item' => __( 'Add New', 'testimonial-free' ), 'edit' => _... ); -
apply_filters( 'sp_testimonial_pro_preloader_image', $preloader_image ); -
apply_filters( 'sp_testimonial_review_content', $content, $post_id ); -
apply_filters( 'sp_tfree_export_limit', 1000 ); -
apply_filters( "spftestimonial_{$this->unique}_output_css", SPFTESTIMONIAL::$css, $this ); -
apply_filters( 'spftestimonial_chosen_ajax_capability', 'manage_options' ); -
apply_filters( 'spftestimonial_color_palette', array() ); -
do_action( 'spftestimonial_enqueue' ); -
apply_filters( 'spftestimonial_enqueue_assets', self::$enqueue ); -
apply_filters( 'spftestimonial_field_icon_add_icons', spftestimonial_get_default_icons() ); -
apply_filters( 'spftestimonial_field_typography_backup_font_family', array( 'Arial, Helvetica, sans-serif', "'Arial Black', Gadget, sans-serif", "'Comic Sans MS', cursive, sans-serif", 'Impact, Charcoal, sans-serif', "'Lucida Sans Unicode', 'Lucida Grande', sans-serif", 'Tahoma, Geneva, sans-serif', "'Trebuchet MS', Helvetica, sans-serif'", 'Verdana, Geneva, sans-serif', "'Courier New', Courier, monospace", "'Lucida Console', Monaco, monospace", 'Georgia, serif'... ); -
apply_filters( 'spftestimonial_fields', array( 'accordion', 'border', 'button_set', 'box_shadow', 'checkbox', 'code_editor', 'color', 'color_group', 'column', 'content', 'custom_import', 'custom_size', 'fieldset', 'heading', 'icon', 'icon_select', 'image_select', 'image_sizes', 'notice', 'preview', 'radio', 'rating', 'repeater', 'select', 'select_f', 'sortable', 'sorter', 'spacing', 'spinner', 'subheading', 'submessage', 'wp_editor',... ); -
do_action( 'spftestimonial_init' ); -
do_action( 'spftestimonial_loaded' ); -
do_action( 'spftestimonial_options_after' ); -
do_action( 'spftestimonial_options_before' ); -
apply_filters( 'spftestimonial_override', 'spftestimonial-override' ); -
apply_filters( 'spftestimonial_wp_editor', array( 'tinymce' => array( 'wp_skip_init' => true, ), ) ); -
apply_filters( 'spt_testimonial_free_suppress_filters', false, $post_id ); -
apply_filters( 'spt_testimonial_pro_query_args', $args, $post_id ); -
do_action( 'sptpro_after_testimonial_client_designation_company' ); -
do_action( 'sptpro_after_testimonial_client_image' ); -
do_action( 'sptpro_after_testimonial_client_name' ); -
do_action( 'sptpro_after_testimonial_client_rating' ); -
do_action( 'sptpro_after_testimonial_content' ); -
do_action( 'sptpro_after_testimonial_title' ); -
do_action( 'sptpro_before_testimonial_client_designation_company' ); -
do_action( 'sptpro_before_testimonial_client_image' ); -
do_action( 'sptpro_before_testimonial_client_name' ); -
do_action( 'sptpro_before_testimonial_client_rating' ); -
do_action( 'sptpro_before_testimonial_content' ); -
do_action( 'sptpro_before_testimonial_title' ); -
apply_filters( 'testimonial_client_rating_empty_star_icon', $empty_star_icon, get_the_ID() ); -
apply_filters( 'testimonial_client_rating_full_star_icon', $full_star_icon, get_the_ID() ); -
do_action( 'testimonial_shortcode_imported', $new_shortcode_id ); -
apply_filters( 'widget_title', esc_attr( $instance['title'] ) );
Generated from Real Testimonials'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 thisPlugin 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 thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: