/** * Generate the title for Data Source, which includes the Action Links once configured. * * @since 1.8 * * @param int $post_id ID of the current post * * @return string "Data Source", plus links if any */ private function get_data_source_header($post_id) { //current value $current_form = gravityview_get_form_id($post_id); $links = GravityView_Admin_Views::get_connected_form_links($current_form, false); if (!empty($links)) { $links = '<span class="alignright gv-form-links">' . $links . '</span>'; } return __('Data Source', 'gravityview') . $links; }