add_filter('accordions_item_header', 'accordions_item_header_18032020', 10, 2);

function accordions_item_header_18032020($accordion_header, $post_id){

    $accordion_header = $accordion_header . ' - Custom text here';

    return $accordion_header;
}

View post on imgur.com