Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

frm_display_entries_content

Use this hook to customize content in your View.

Usage

add_filter( 'frm_display_entries_content', 'frm_custom_content', 20, 6 );

Parameters

  • $new_content (string)
  • $entries (array of entry IDs)
  • $shortcodes (array of shortcodes used in View)
  • $display (object)
  • $type (string)
  • $args (array)

Examples

Basic Format

add_filter('frm_display_entries_content', 'frm_replace_content', 20, 4);
function frm_replace_content($new_content, $entries, $shortcodes, $display){
if($display->ID == 1066){//Replace 1066 with the ID of your View
 $new_content = "Your custom content here";
}
  return $new_content;
}
Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2025 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Complete your purchase
    Special offer unlocked.
    Get 55% OFF!
    Complete Purchase
    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms