Created
December 24, 2012 15:15
-
-
Save rosshanney/4369611 to your computer and use it in GitHub Desktop.
Allows id attribute on div tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin name: Allow id attribute on div tags | |
*/ | |
function gce_allow_id_on_div() { | |
global $allowedposttags; | |
$allowedposttags['div']['id'] = true; | |
} | |
add_action( 'init', 'gce_allow_id_on_div' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment