I hereby claim:
- I am apintocr on github.
- I am apintocr (https://keybase.io/apintocr) on keybase.
- I have a public key ASCDtX-QTGEj2cVE1dTxEwJoy_-Z5CrpU3Sax70BR0S0ogo
To claim this, I am signing this object:
| <?php | |
| /** | |
| * Edit Subject on Divi Contact Form (using add_filter) | |
| * | |
| * Divi contact form does not allow you to change the subject from the interface. | |
| * The problem is that on clients like Gmail the messages get threaded/organized under the same item/title. | |
| * To solve this we need a unique subject for each new contact. | |
| * However, Divi contact module does not have many hooks or filters, only allowing us to change the $headers[] | |
| * This would be great if the 'Subject:' was set on that variable, it is not, so we need to ADD a extra 'Subject:' | |
| * not an ideal solution, but it works and currently it is the only way to do this without editing the theme files. |
I hereby claim:
To claim this, I am signing this object:
rebase vs merge).rebase vs merge)reset vs checkout vs revert)git rev-parse)pull vs fetch)stash vs branch)reset vs checkout vs revert)git reset vs git rm --cached)| <?php | |
| /** | |
| * Contact Form 7 - Conditionally Chance Recipient to Post Meta | |
| * | |
| * This function gets the current post id and grabs the desired meta to use | |
| * it on the submited form data to change the recipient email conditionally. | |
| * You can add some conditional checks to make sure the data is correct. | |
| * | |
| * @author António Pinto <[email protected]> | |
| * @link https://gitlab.com/snippets/1662384 |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference. | |
| * | |
| * All credits go to luetkemj. Thanks! | |
| * | |
| * @author luetkemj <[email protected]> | |
| * @author s3rgiosan <[email protected]> | |
| * | |
| * @see http://codex.wordpress.org/Class_Reference/WP_Query#Parameters |
| <?php | |
| /** | |
| * WooCommerce Bookings Availability Search | |
| * | |
| * This is almost pseudo code, it only serves to explain the "how to do it" and does not attempt to be "The Way" to do it. | |
| * NOTE: This NEEDS to be refined in order to work as expected. | |
| * | |
| * @author António Pinto <[email protected]> | |
| * @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
| * |