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
/* ========================================================= | |
Comments | |
========================================================= */ | |
ol.commentlist { | |
list-style:none; | |
margin:0 0 1em; | |
padding:0; | |
text-indent:0; |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule (.*) ./index.php?id=$1 [L] | |
</IfModule> |
<?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; |
<?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']; |
<?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( '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' ); |
/* | |
* 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 | |
*/ |
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 | |
Log::info("something really interesting happened", ['extra' => 'information', 'about' => 'anything' ]); |
<?php | |
/** | |
* Module: Bootstrap Genesis Plugin - Structural Wraps | |
* Author: Bryan Willis | |
*/ | |
/** | |
* Add theme support for structural wraps | |
*/ | |
function gb3_add_theme_support_structural_wraps() { |