Is their a way to check if the field group is existing on ACF5? I did have a working code for ACF4 but when I migrated to ACF5 it is not working. I suspect that because of ACF5 have change its post type from “acf” to new db table.
See code below: (working in acf4)
if (!get_page_by_title('Field Group Name', OBJECT, 'acf')) :
// Load the ACF php
require_once (dirname(__FILE__) . '/includes/ACF5/acf-custom-field-group.php');