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
| # Install dependencies | |
| # | |
| # * checkinstall: package the .deb | |
| # * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
| # * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
| apt-get install checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \ | |
| mkdir -p ~/sources/ && \ | |
| # Compile against OpenSSL to enable NPN |
| #!/usr/bin/env python | |
| import tweepy | |
| from BeautifulSoup import BeautifulSoup as parser | |
| import urllib | |
| import sys | |
| import argparse | |
| import ConfigParser |
| #!/usr/bin/ruby | |
| multisitism = [ | |
| :single_site, | |
| :multisite_subdirs, | |
| :multisite_subdomains | |
| ] | |
| permalinks = [ | |
| :default_permalinks, |
| #!/usr/bin/ruby | |
| # | |
| # The MIT License (MIT) | |
| # Copyright (c) 2013 Mark Jaquith | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| #!/bin/bash | |
| # LEMP | |
| apt-get -y install nginx mysql-server php5-mysql php5-fpm | |
| # extra php packages | |
| apt-get -y install php5-cli php5-gd php5-curl php5-xdebug | |
| # change user from www-data to scribu | |
| sed -i 's/www-data/scribu/g' /etc/nginx/nginx.conf /etc/php5/fpm/pool.d/www.conf |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| <?php | |
| # Spotify | |
| wp_embed_register_handler( 'spotify', '#https?://open\.spotify\.com/.*#', 'spotify_embed_handler' ); | |
| add_shortcode( 'spotify', 'spotify_shortcode' ); | |
| if ( get_option('embed_autourls') ) | |
| add_filter( 'the_content', 'spotify_embed_ids', 7 ); |
| // This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.github.io | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
| */ |