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 | |
/** | |
* Add featured image url to api response | |
* This will (hopefully) be unnecessary if the API team adds it to core | |
* | |
*/ | |
add_action( 'rest_api_init', 'sb_register_featured_urls' ); | |
function sb_register_featured_urls() { | |
register_api_field( 'post', |
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 | |
/** | |
* Duplicate 'the_content' filters | |
* | |
* @author Bill Erickson | |
* @link http://www.billerickson.net/code/duplicate-the_content-filters/ | |
*/ | |
global $wp_embed; | |
add_filter( 'ea_the_content', array( $wp_embed, 'run_shortcode' ), 8 ); |