- Table of contents
- General information
- Terms
- General structure of a test
- WordPress-specific assertions and test functions
- enqueues
- creating posts
- creating terms
- attaching images
- ?
/** | |
* Insert an attachment from an URL address. | |
* | |
* @param String $url | |
* @param Int $post_id | |
* @param Array $meta_data | |
* @return Int Attachment ID | |
*/ | |
function crb_insert_attachment_from_url($url, $post_id = null) { |
var DATE_RFC2822 = "ddd, DD MMM YYYY HH:mm:ss ZZ"; | |
moment().format(DATE_RFC2822); |
This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This is accurate as of WordPress 4.8, and includes some upcoming changes in WordPress 4.9.
There are a few TODOs left. Please bear with me.
(function() { | |
var css = "*{font-family:\"Blokk Regular\", blokk !important;}", | |
head = document.getElementsByTagName("head")[0], | |
style = document.createElement("style"); | |
style.type = "text/css"; | |
if ( style.styleSheet ) { | |
style.styleSheet.cssText = css; | |
} else { | |
style.appendChild( document.createTextNode( css ) ); | |
} |
function Emitter() { | |
this.events = {}; | |
} | |
Emitter.prototype.on = function (type, listener) { | |
this.events[type] = this.events[type] || []; | |
this.events[type].push(listener); | |
} |
function Emitter() { | |
this.events = {}; | |
} | |
Emitter.prototype.on = function (type, listener) { | |
this.events[type] = this.events[type] || []; | |
this.events[type].push(listener); | |
} |
.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent, | |
#customize-theme-controls .customize-pane-child.current-section-parent { | |
-webkit-transform: translateX(-100%); | |
-ms-transform: translateX(-100%); | |
transform: translateX(-100%); | |
} |
This is the follow up to a post I wrote recently called From Require.js to Webpack - Party 1 (the why) which was published in my personal blog.
In that post I talked about 3 main reasons for moving from require.js to webpack:
Here I'll instead talk about some of the technical challenges that we faced during the migration. Despite the clear benefits in developer experience (DX) the setup was fairly difficult and I'd like to cover some of the challanges we faced to make the transition a bit easier.
## CLI | |
https://github.com/zfcampus/zf-console | |
[https://github.com/mnapoli/silly](Silly CLI micro-framework based on Symfony Console) | |
## GitHub authors | |
https://github.com/mnapoli?tab=repositories |