This file contains 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
<div class="c-contact-form__content" > | |
<label class="c-contact-form__label" > | |
<span class="c-contact-form__label-text" > | |
Your Name <small>(required)</small> | |
</span> | |
<span class="c-contact-form__input-wrapper" > | |
[text* your-name placeholder "Name"] | |
</span> | |
</label> | |
<label class="c-contact-form__label"> |
This file contains 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
<?php | |
/** | |
* Plugin Name: WooCommerce Subscription Length Extender | |
* Description: Add a custom 36 month subscription length to WooCommerce Subscriptions (requires WC Subscriptions 1.4.4 or newer) to give the option of having a subscription expire after 36 months. | |
* Author: Brent Shepherd | |
* Version: 1.0 | |
* License: GPL v2 | |
*/ | |
function eg_extend_subscription_expiration_options( $subscription_lengths ) { |
This file contains 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
<?php | |
/** | |
* Plugin Name: Extend WooCommerce Subscription Intervals | |
* Description: Add a "every 10 weeks" billing interval to WooCommerce Subscriptions | |
* Author: Brent Shepherd | |
* Author URI: http://brent.io | |
* Version: 1.0 | |
* License: GPL v2 | |
*/ |
This file contains 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
// uses the PHP PEAR modules for sending MIME email | |
// http://pear.php.net/package/Mail | |
// http://pear.php.net/package/Mail_Mime | |
<?php | |
require 'pdfcrowd.php'; | |
require_once('Mail.php'); | |
require_once('Mail/mime.php'); |