Skip to content

Instantly share code, notes, and snippets.


John Bunka JohnBunka

View GitHub Profile
JohnBunka / functions.php
Last active Apr 19, 2018 — forked from woogists/wc-remove-tabs.php
Remove the additional information tab only
View functions.php
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] ); // Remove the additional information tab
return $tabs;
View default-author.php
Plugin Name: Default Author
Plugin URI:
Description: Set a default author for all posts and pages
Version: 1.0
Text Domain: default-author
Author: Christopher Davis
Author URI:
License: GPL2