From db777f503ddebf4374fa3d4eb870aab2a6452be0 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 29 Nov 2017 14:28:22 -0500 Subject: [PATCH] Add docs in code Adding php docs. --- setup/adminHooks.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 9c7f753..b013323 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -196,7 +196,9 @@ add_filter('glm-member-db-admin-search-query', function() { }); /** - * ???????? + * Save the data for the Member Info Custom Fields + * Returns true if successful + * Returns failure array if something goes wrong. */ add_filter('glm-member-db-save-custom-fields', function( $entityID) { require_once GLM_MEMBERS_FIELDS_PLUGIN_CLASS_PATH . '/customFieldPluginSupport.php'; @@ -210,7 +212,9 @@ add_filter('glm-member-db-save-custom-fields', function( $entityID) { ); /** - * ???????? + * Clones the custom fields data + * Grabs the custom field data for an entity and setup those custom fields + * for a new id. */ add_action( 'glm-member-db-clone-custom-fields', -- 2.17.1