This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Function to Send Bricks Form Data to Webhook | |
| */ | |
| function pro_bricks_form_to_webhook( $form ){ | |
| $data = $form->get_fields(); | |
| // The Bricks Form ID is the last part of the CSS ID | |
| // So if a form has a CSS ID of bricks-element-fszxsr, then the form ID is fszxsr | |
| $formId = $data['formId']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # script that fixes weird macOS 10.14 SDK issues | |
| # SO: https://stackoverflow.com/questions/51314888/ld-warning-text-based-stub-file-are-out-of-sync-falling-back-to-library-file#comment93288538_53111739 | |
| # script source: https://gist.github.com/wawiesel/eba461de5f5e38f7f0ac93ae3676b484 | |
| # slightly modified to include PrivateFrameworks too | |
| F=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks | |
| G=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/PrivateFrameworks |