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
this.$el.find( '.taxonomy-terms' ).select2({ | |
multiple: true, | |
ajax: { | |
url: WP_API_Settings.root + 'wp/v2/terms/' + this.options.taxonomy.slug, | |
data: function( term, page ) { | |
return { | |
search: term, | |
page: page, | |
_envelope: true | |
} |
<?php | |
/** | |
* Make an internal REST request | |
* | |
* @global WP_REST_Server $wp_rest_server ResponseHandler instance (usually WP_REST_Server). | |
* @param $request_or_method WP_REST_Request|string A WP_REST_Request object or a request method | |
* @param $path (optional) if the path is not specific in the rest request, specify it here | |
* @param $data (optional) option data for the request. | |
* @return WP_Error|mixed |
{ | |
"require": { | |
"mfacenet/hello-world": "v1.*" | |
} | |
} |
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//required plugins: code snippets, caldera forms, caldera forms run action, mymail | |
add_action('consult_req_submitted', 'consult_req_submitted_sync_mymail'); //as defined in caldera forms run action | |
function consult_req_submitted_sync_mymail( $data ){ | |
$caldera_name = $data[ 'your_name' ]; //this is the caldera field slug | |
$caldera_email = $data[ 'email' ]; //this is the caldera field slug |
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//required plugins: code snippets, caldera forms, caldera forms run action, MailPoet | |
add_action('consult_req_submitted', 'consult_req_submitted_sync'); | |
function consult_req_submitted_sync( $data ){ | |
$caldera_name = $data[ 'your_name' ]; //this is the caldera field slug | |
$caldera_email = $data[ 'email' ]; //this is the caldera field slug |
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//required plugins: code snippets, caldera forms, caldera forms run action | |
add_action('consult_req_submitted', 'consult_req_submitted_sync_hubspot'); | |
function consult_req_submitted_sync_hubspot( $data ){ | |
$hubspot_api_key = 'ffffffff-27a0-4591-9b68-27d4bb31ed76'; | |
$hubspot_list_id = '1'; //optional |
// Trie.js - super simple JS implementation | |
// https://en.wikipedia.org/wiki/Trie | |
// ----------------------------------------- | |
// we start with the TrieNode | |
function TrieNode(key) { | |
// the "key" value will be the character in sequence | |
this.key = key; | |
import React from 'react'; | |
import { connect } from 'react-redux'; | |
class PageWidget extends React.Component { | |
componentDidMount() { | |
this.ifr.onload = () => { | |
this.ifr.contentWindow.postMessage('hello', '*'); | |
}; | |
window.addEventListener("message", this.handleFrameTasks); | |
} |