Skip to content

Instantly share code, notes, and snippets.

View admin-id.php
<?php
/*
Plugin Name: Add Post / Page ID Column
Description: Add ID column on Post and Page listing in the ClassicPress admin area.
Author: Matt Robinson
Version: 0.1
*/
if ( is_admin() ) {
$add_admin_id = new Add_Admin_Id();
@mattyrob
mattyrob / s2_html_format_changer.php
Last active Feb 9, 2020
Change the default email type for Public Subscribers in Subscribe2 HTML
View s2_html_format_changer.php
<?php
/*
Plugin Name: Subscribe2 HTML Format Changer
Plugin URI: http://subscribe2.wordpress.com
Description: Changes the default email type for Public Subscribers in Subscribe2 HTML
Version: 1.0
Author: Matthew Robinson
Author URI: http://subscribe2.wordpress.com
*/
@mattyrob
mattyrob / wp-privacy.php
Last active Mar 28, 2017
Stop WordPress auto-updates and control information shared with api.wordpress.org
View wp-privacy.php
<?php
// you'll have to put a plugin header here
// Stop auto updated in WordPress 3.7+
add_filter( 'auto_update_core', '__return_false' );
add_filter( 'auto_update_plugin', '__return_false' );
add_filter( 'auto_update_theme', '__return_false' );
add_filter( 'auto_update_translation', '__return_false' );
// stop translation updates when updating plugins or themes
@mattyrob
mattyrob / qtags.php
Created Dec 22, 2011 — forked from trepmal/qtags.php
Quicktags API Test
View qtags.php
<?php
/*
Plugin Name: Quicktags API Test
Description: Testing a few different kinds of Quicktags buttons
Author: Kailey Lampert
Author URI: http://kaileylampert.com/
*/
You can’t perform that action at this time.