This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
| <?php | |
| /* | |
| Plugin Name: Primux Mailchimp | |
| Plugin URI: http://primux.dk/ | |
| Description: Add new users to a Mailchimp list | |
| Version: 1.0 | |
| Author: Primux Media | |
| Author URI: http://primux.dk/ | |
| */ |
| <?php | |
| /** | |
| * Skip cart and redirect to direct checkout | |
| * | |
| * @package WooCommerce | |
| * @version 1.0.0 | |
| * @author Alessandro Benoit | |
| */ | |
| // Skip the cart and redirect to check out url when clicking on Add to cart |
| <?php | |
| add_filter( 'envira_gallery_output_after_link', 'tgm_envira_gallery_caption', 10, 5 ); | |
| /** | |
| * Adds a caption below each image in the gallery. | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @param string $output String of gallery output. | |
| * @param mixed $id The ID of the gallery. | |
| * @param array $item Array of data about the image. |
| <?php | |
| class example_skin_class extends thesis_skin { | |
| // list of box classes you want to add to the queue | |
| // do not give these strings for keys or everything will blow up | |
| public $boxes_class_list = array( | |
| 'box_class_one', | |
| 'box_class_two', | |
| 'box_class_three', | |
| 'box_class_four', |
| <?php | |
| // drop this in your custom.php file. run it ONCE or it will continue to reset everything. | |
| // for now, this only works for Thesis Classic | |
| include_once(dirname(__FILE__) . '/seed.php'); | |
| $options = array( | |
| 'boxes', 'templates', 'packages', 'snippets', 'vars', 'css', 'custom_css' | |
| ); |
| <?php | |
| /** | |
| * Template Name: Custom Loop | |
| * | |
| * @package BE Genesis Child | |
| * @author Bill Erickson <[email protected]> | |
| * @copyright Copyright (c) 2011, Bill Erickson | |
| * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
| * | |
| */ |
| <?php | |
| class Walker_Nav_Menu_Mobile extends Walker_Nav_Menu{ | |
| var $to_depth = -1; | |
| function start_lvl(&$output, $depth){ | |
| $output .= '</option>'; | |
| } | |
| function end_lvl(&$output, $depth){ |