Skip to content

Instantly share code, notes, and snippets.

@thefuxia
thefuxia / class.TTT_Contactfields.php
Created October 9, 2010 22:10 — forked from anonymous/class.TTT_Contactfields.php
Manager for WordPress’ contact fields
<?php
/**
* Manage WordPress contact fields.
* Usage:
require './class.TTT_Contactfields.php';
$TTT_Contactfields = new TTT_Contactfields(
array (
'Twitter'
, 'Facebook'
@thefuxia
thefuxia / plugin-file.php
Created January 17, 2012 17:32 — forked from rmccue/plugin-file.php
Improved class concept
<?php # -*- coding: utf-8 -*-
declare( encoding = 'UTF-8' );
/**
* Plugin Name: WP_Plugin class test
* Version: 2012.01.17
* Required: 3.3
* Author: Thomas Scholz
* Author URI: http://toscho.de
* License: GPL
*/