This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
uglify: { | |
files: { | |
src: 'assets/js/uber-media.js', | |
dest: 'assets/js/', | |
expand: true, | |
flatten: true, | |
ext: '.min.js' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* DocBlocks for WordPress | |
* | |
* Structural Elements: | |
* -- to be documented with DocBlocks -- | |
* | |
* class | |
* function (including methods) | |
* variable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
register_settings_on_network( 'option_name', array( 'some' => '1' ) ); | |
function register_settings_on_network( $option_name, $defaults ) { | |
global $wpdb; | |
$blogs = $wpdb->get_results( "SELECT blog_id FROM {$wpdb->blogs}", ARRAY_A ); | |
if ( $blogs ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class PluginNameGrunt { | |
/** | |
* PSR-0 compliant autoloader to load classes as needed. | |
* | |
* @static | |
* @access public | |
* @since 1.0.0 |
NewerOlder