I hereby claim:
- I am joedooley on github.
- I am joedooley (https://keybase.io/joedooley) on keybase.
- I have a public key ASBd3iVlT20ecY3cgyQTT3620FpJBCJSq7q4C68k1daNLgo
To claim this, I am signing this object:
<?php | |
/** | |
* Require HTTPS across all Pantheon environments. | |
* Does not run during wp-cli requests. | |
* | |
* This will redirect all pantheon environments redirect to https. | |
* | |
* @link https://pantheon.io/docs/redirects/#redirect-to-https | |
*/ |
<?php | |
/** | |
* Gravity Wiz // Gravity Forms // Manual Entries | |
* | |
* Create entries manually for Gravity Forms. Adds an "Add New" button next to the page title on all entry-related pages. | |
* | |
* @version 1.2 | |
* @author David Smith <david@gravitywiz.com> | |
* @license GPL-2.0+ | |
* @link http://gravitywiz.com/... |
<?php | |
/** | |
* Filters the API mode for a specific form to 'test'. | |
* | |
* @param $api_mode string Either 'test' or 'live' | |
* | |
* @return string Returns 'test' for targeted form. Otherwise, | |
* will return the value for the $api_mode setting. | |
*/ |
<?php | |
/** | |
* @link | |
* @since 1.0.0 | |
* @package TODO | |
* | |
* @wordpress-plugin | |
* Plugin Name: Use MailHog | |
* Description: Configure WordPress on Valet to use MailHog | |
* Version: 1.0.0 |
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
<?php | |
// Example - check for "in_stock" with a "Size" attribute | |
function show_instock_product_variations( $params, $class ) { | |
if ( 'tax/pa_size' == $params['facet_source'] && 'product' == get_post_type( $params['post_id'] ) ) { | |
WC()->api->includes(); | |
WC()->api->register_resources( new WC_API_Server( '/' ) ); | |
$response = WC()->api->WC_API_Products->get_product( $params['post_id'] ); | |
$product = $response['product']; |
I hereby claim:
To claim this, I am signing this object:
@import "bourbon"; | |
@import "neat"; | |
ul, | |
li { | |
@include margin(0); | |
@include padding(0); | |
} | |
ul { |
PhpStorm SCSS File Watcher Settings | |
Directions: Create File Watcher in Tools -> File Watchers. Add the information below changing the | |
path to match your theme or plugins path. | |
File type: SCSS | |
Scope: Project SASS Directory | |
Program: /Users/joe/.rvm/gems/ruby-2.0.0-p643/bin/scss |
<?php | |
add_filter( 'post_thumbnail_html', 'default_post_thumbnail_html' ); | |
/** | |
* Use a default thumbnail If a post thumbnail isn't set | |
* Will output /images/default-thumbnail.png in its place. | |
* | |
* @param $html | |
* @return string | |
* @author Joe Dooley |