Skip to content

Instantly share code, notes, and snippets.

Avatar
:electron:
Zen State

Gjvon Graves Jivvie

:electron:
Zen State
  • Houston Texas
View GitHub Profile
@maddisondesigns
maddisondesigns / functions.php
Last active Jan 1, 2019
Remove Yoast SEO nag after update
View functions.php
<?php
/*
* Remove the annoying Yoast SEO nag for all Admin Users. Tested with v3.4.2
*/
class ahRemoveYoastNag_Remove_Yoast_SEO_Nag {
private $yoastPluginFile;
public function __construct() {
$this->yoastPluginFile = "wordpress-seo/wp-seo.php";
register_activation_hook( $this->yoastPluginFile, array( $this, 'ryn_remove_yoast_nag_on_activation' ) );
@mikaelbr
mikaelbr / destructuring.js
Last active Sep 14, 2020
Complete collection of JavaScript destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
View destructuring.js
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];
@jbreitenbucher
jbreitenbucher / gist:1996832
Created Mar 7, 2012
WordPress: Plugin Header Boilerplate
View gist:1996832
<?php
error_reporting(E_ALL);
/*
Plugin Name: __pluginname__
Plugin URI: http://orthogonalcreations.com
Description: __description__
Author: Jon Breitenbucher
Author URI: http://orthogonalcreations.com
Version: __version__
You can’t perform that action at this time.