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 | |
| /** | |
| * Style pagination to look like Genesis. | |
| * | |
| * @version 1.0.0 | |
| * | |
| * @author Mike Hemberger @JiveDig | |
| * | |
| * @link https://gist.github.com/JiveDig/b9810ba4c322d7757993159ed9ccb61f |
| <?php | |
| /** | |
| * Module: Bootstrap Genesis Plugin - Structural Wraps | |
| * Author: Bryan Willis | |
| */ | |
| /** | |
| * Add theme support for structural wraps | |
| */ | |
| function gb3_add_theme_support_structural_wraps() { |
| <?php | |
| Log::info("something really interesting happened", ['extra' => 'information', 'about' => 'anything' ]); |
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
| /* | |
| * Behave.js | |
| * | |
| * Copyright 2013, Jacob Kelley - http://jakiestfu.com/ | |
| * Released under the MIT Licence | |
| * http://opensource.org/licenses/MIT | |
| * | |
| * Github: http://github.com/jakiestfu/Behave.js/ | |
| * Version: 1.5 | |
| */ |
| <?php | |
| add_action( 'init', 'sample_remove_entry_meta', 11 ); | |
| /** | |
| * Remove entry meta for post types | |
| * | |
| * @link https://gist.github.com/nathanrice/03a5871e5e5a27f22747 | |
| */ | |
| function sample_remove_entry_meta() { | |
| remove_post_type_support( 'post-type', 'genesis-entry-meta-before-content' ); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <templateSet group="WordPress"> | |
| <template name="aa" value="add_action( '$hook$', '$callback$' ); $END$" description="add_action" toReformat="false" toShortenFQNames="true"> | |
| <variable name="hook" expression="" defaultValue="" alwaysStopAt="true" /> | |
| <variable name="callback" expression="" defaultValue="" alwaysStopAt="true" /> | |
| <context> | |
| <option name="HTML_TEXT" value="false" /> | |
| <option name="HTML" value="false" /> | |
| <option name="XSL_TEXT" value="false" /> | |
| <option name="XML" value="false" /> |
| <?php | |
| add_action('gform_after_submission', 'gfToAcfListToRepeater', 10, 2); | |
| function gfToAcfListToRepeater($entry, $form) | |
| { | |
| foreach ($form['fields'] as $field) { | |
| if (!($field['type'] == 'post_custom_field' && $field['inputType'] == 'list' && $field['enableColumns'] == true)) { | |
| continue; | |
| } | |
| $id = $field['id']; |
| <?php namespace PaintedCloud\WP\Classes; | |
| if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
| class AssetRegister { | |
| public $scripts_base_uri; | |
| public $styles_base_uri; | |
| protected $scripts; | |
| protected $stylesheets; |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteRule (.*) ./index.php?id=$1 [L] | |
| </IfModule> |