From: Steve Sutton Date: Wed, 29 Nov 2017 19:28:22 +0000 (-0500) Subject: Add docs in code X-Git-Tag: v1.0.4^2~12 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=db777f503ddebf4374fa3d4eb870aab2a6452be0;p=WP-Plugins%2Fglm-member-db-fields.git Add docs in code Adding php docs. --- 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',