Skip to content

Instantly share code, notes, and snippets.

Stephen Cronin Stephen-Cronin

Block or report user

Report or block Stephen-Cronin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View plugin.php
include( dirname( __FILE__ ) . '/lib/requirements-check.php' );
$your_plugin_requirements_check = new YOUR_PREFIX_Requirements_Check( array(
'title' => 'YOUR PLUGIN NAME',
'php' => '5.4',
View plugin-stats.php
* After creating the necessary table, run with `wp eval-file plugin-stats.php`
use WP_CLI\Utils;
global $wpdb;
$original_request_url = '';
maddisondesigns /
Last active Sep 6, 2019
eCommerce Terms & Conditions and Privacy Templates
danielbachhuber / gist:8af274e2b7f21c8c3bb6
Created Jul 3, 2014
Post-style permalinks for your custom post types
View gist:8af274e2b7f21c8c3bb6
* Post-style permalinks for your custom post types
* e.g. %year%/%monthnum%/%day%/%postname%
function dbx_get_post_types() {
return array(
// replace with your custom post types
You can’t perform that action at this time.