Removing Options
-
Hi all,
I’m developing a plugin that deals with comments and as such it has an admin page that controls all the settings. However a lot of these settings are similar/the same as the ones defined in the discussion panel. I was wondering if there is a way to remove options from the discussion panel. I have been looking at ./wp-admin/options-discussion.php and I can see exactly what I want to hide but obviously as it’s a plugin I can’t just delete stuff off that page.
I noticed each option has a <label> around the whole option so is there a way of hiding this??
Below is the code I am talking about:<label for="default_comment_status"> <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_option('default_comment_status')); ?> /> <?php _e('Allow people to post comments on new articles') ?></label> <br />Thanks for any help,
Sephers2.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Removing Options’ is closed to new replies.