Created
November 6, 2012 16:44
-
-
Save jeremyboggs/4025916 to your computer and use it in GitHub Desktop.
Remove a form element in Omeka
This file contains hidden or 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 | |
add_filter(array('ElementForm', 'Item', 'Dublin Core', 'Title'), 'remove_form_item_title'); | |
function remove_form_item_title($components, $args) { | |
$components['html'] = ''; // Set the html component to an empty string. | |
return $components; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment