The filter to get contact data was using the wrong constant to
look for its path; probably due to code being copied from the
events plugin.
}
add_filter( 'glm-member-db-contacts-get-contact-data', function( $contact_id ){
- require_once GLM_MEMBERS_EVENTS_PLUGIN_CLASS_PATH . '/data/dataContacts.php';
+ require_once GLM_MEMBERS_CONTACTS_PLUGIN_CLASS_PATH . '/data/dataContacts.php';
$contactData = new GlmDataContacts( $this->wpdb, $this->config );
$contacts = $contactData->getEntry( $contact_id );
return $contacts;