Skip to content

Instantly share code, notes, and snippets.

@rosshanney
Created December 3, 2012 21:15
Show Gist options
  • Save rosshanney/4198123 to your computer and use it in GitHub Desktop.
Save rosshanney/4198123 to your computer and use it in GitHub Desktop.
Allow input tags
<?php
/*
Plugin name: Allow input tags
*/
function gce_allow_input_tags() {
global $allowedposttags;
$allowedposttags['input'] = array(
'type' => true,
'value' => true
);
}
add_action( 'init', 'gce_allow_input_tags' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment