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 | |
| /* | |
| * ----------------------------------------------------------------------------- | |
| * Advanced Custom Fields Modifications | |
| * ----------------------------------------------------------------------------- | |
| */ | |
| function PREFIX_apply_acf_modifications() { | |
| ?> | |
| <style> |
| /** | |
| * Get All orders IDs for a given product ID. | |
| * | |
| * @param integer $product_id (required) | |
| * @param array $order_status (optional) Default is 'wc-completed' | |
| * | |
| * @return array | |
| */ | |
| function get_orders_ids_by_product_id( $product_id, $order_status = array( 'wc-completed' ) ){ | |
| global $wpdb; |
| #This is just a listing of the commands for generating your SSL certificates | |
| #Run these commands one at a time from inside your ~/ssl folder | |
| #Make sure you create your server.csr.cnf and your v3.ext files first inside the same folder | |
| #private key generation | |
| #This will ask you for a passphrase(password) do NOT lose this file or the password | |
| openssl genrsa -des3 -out ~/ssl/rootCA.key 2048 | |
| #create root certificate | |
| openssl req -x509 -new -nodes -key ~/ssl/rootCA.key -sha256 -days 1024 -out ~/ssl/rootCA.pem |
| <?php | |
| $local_file = 'file_path'; //path to a local file on your server | |
| $post_fields = array( | |
| 'name' => 'value', | |
| ); | |
| $boundary = wp_generate_password( 24 ); | |
| $headers = array( | |
| 'content-type' => 'multipart/form-data; boundary=' . $boundary, | |
| ); |
| var Library = wp.media.controller.Library; | |
| var oldMediaFrame = wp.media.view.MediaFrame.Post; | |
| // Extending the current media library frame to add a new tab | |
| wp.media.view.MediaFrame.Post = oldMediaFrame.extend({ | |
| initialize: function() { | |
| // Calling the initalize method from the current frame before adding new functionality | |
| oldMediaFrame.prototype.initialize.apply( this, arguments ); |
| var gulp = require('gulp'), | |
| sass = require('gulp-sass'), | |
| rename = require('gulp-rename'), | |
| cssmin = require('gulp-cssnano'), | |
| prefix = require('gulp-autoprefixer'), | |
| plumber = require('gulp-plumber'), | |
| notify = require('gulp-notify'), | |
| sassLint = require('gulp-sass-lint'), | |
| sourcemaps = require('gulp-sourcemaps'); | |
| // Temporary solution until gulp 4 |
| /** | |
| * Gravity Wiz // Gravity Forms // Kayak-style Datepicker | |
| * Style your Gravity Forms Datepickers like Kayak.com | |
| */ | |
| .datepicker-clean.ui-datepicker { | |
| background-color: #fff; | |
| width: 516px !important; | |
| box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1) !important; | |
| padding-left: 20px; | |
| position: relative; |
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
| // Implementation in ES6 | |
| function pagination(c, m) { | |
| var current = c, | |
| last = m, | |
| delta = 2, | |
| left = current - delta, | |
| right = current + delta + 1, | |
| range = [], | |
| rangeWithDots = [], | |
| l; |
People
:bowtie: |
๐ :smile: |
๐ :laughing: |
|---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
๐ :satisfied: |
๐ :grin: |
๐ :wink: |
๐ :stuck_out_tongue_winking_eye: |
๐ :stuck_out_tongue_closed_eyes: |
๐ :grinning: |
๐ :kissing: |
๐ :kissing_smiling_eyes: |
๐ :stuck_out_tongue: |