formcierge_entry_detail_sections
Filter

Since v1.0.0

Add or remove sections displayed on the entry detail page in the admin. Useful for addons that want to surface extra panels alongside the field values.

Parameters
$sections array Array of section definition arrays, each with keys: id, label, callback.
$entry_id int The entry ID.
Defined in
includes/Controllers/EntryController.php
add_filter( 'formcierge_entry_detail_sections', function ( $sections, $entry_id ) {
    $sections[] = [
        'id'       => 'crm_panel',
        'label'    => 'CRM Record',
        'callback' => 'my_render_crm_panel',
    ];
    return $sections;
}, 10, 2 );