I hereby claim:
- I am aldoreyes on github.
- I am aldo_reyes (https://keybase.io/aldo_reyes) on keybase.
- I have a public key ASBPLKQQChI2_tqCoKyHtAV1bJSnBPOh35gseKlCB2Ht6Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
//replace #menu_container_191 by your menu id | |
jQuery('#menu_container_191 md-menu-item .ng-scope').each(function(){ | |
console.log($(this).text()); | |
}); |
add_action("gform_after_submission", 'sf_add_attachments', 11, 2); | |
/** | |
* This will go through all your fileupload fields from the form, | |
* and it will create an attachment for each one of the that is not empty | |
* @param [type] $entry [description] | |
* @param [type] $form [description] | |
*/ | |
function sf_add_attachments($entry, $form){ | |
$parentID = gform_get_meta($entry['id'], 'salesforce_id'); |