Skip to content

Instantly share code, notes, and snippets.

Daniel Hüsken danielhuesken

Block or report user

Report or block danielhuesken

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
ocean90 / plugin.php
Created Sep 19, 2012
WordPress: Print some debug infos into backend footer.
View plugin.php
* For site admins: Print some debug infos into backend footer.
* - Time
* - DB Queries
* - Memory Usage
* - Cache Hts/Misses
* - Active Plugins
* @param string $text Existing footer text.
ocean90 / all-in-one.php
Created Jan 8, 2012
Gist to WordPress
View all-in-one.php
* Hook into the backend and load scripts and
* init metabox.
function ds_gist2wordpress_admin() {
add_action( 'wp_ajax_gist', 'ds_gistify' );
add_action( 'admin_print_scripts-post.php', 'ds_gist_js' );
add_action( 'admin_print_scripts-post-new.php', 'ds_gist_js' );
You can’t perform that action at this time.