Skip to content

Instantly share code, notes, and snippets.

@BraadMartin
BraadMartin / js-query-param-helper-functions
Created October 23, 2016 20:38
JS query param helper functions
/**
* Insert or change a query param.
*
* See: http://stackoverflow.com/questions/486896/adding-a-parameter-to-the-url-with-javascript
*
* @param {string} key - The query param key.
* @param {string} value - The query param value.
*/
var setQueryParam = function( key, value ) {
key = encodeURI( key );
@BraadMartin
BraadMartin / filters-in-the-wp-rest-api-v2
Last active May 24, 2017 02:22
A list of all of the filters available in the WP REST API v2
rest_avatar_sizes
rest_prepare_attachment
rest_pre_insert_comment
rest_comment_type_trashable
comment_text
@BraadMartin
BraadMartin / wordpress-page-builders.md
Last active June 11, 2018 08:16
A collection of links to some of the many WordPress page builders that are competing to offer the content creation solutions of the future.