Skip to content

Instantly share code, notes, and snippets.

/* jshint esnext: true */
import Ember from 'ember';
// When mixed into an Ember.Component class, actions can be explicitly or implicitly delegated to the parent.
// In general this makes the most sense for an app-level component, where actions are not mututated as they bubble
// up to higher levels.
export default Ember.Mixin.create({
// When true, all actions will be implicitly passed on to the parent
@joshlevinson
joshlevinson / ra-export.php
Created October 7, 2014 04:45
Modified Advanced Export for WP & WPMU to Export by Tag
<?php
/*
Plugin Name: Advanced Export
Plugin URI: http://wpmututorials.com/plugins/advanced-export/
Description: Adds an Advanced Export to the Tools menu which allows selective exporting of pages, posts, specific categories and/or post statuses by date.
Version: 2.9
Author: Ron Rennick
Author URI: http://ronandandrea.com/
*/
<?php
/**
* Shortcode to go along with my Option Tree
* helper functions. See those here:
* https://gist.github.com/2627998
*
* <samp>[theme_option name="home_text"]</samp>
*
* @param array Array of attributes passed from the shortcode.
* @return string|null