Tuesday, November 13, 2012

How to hide Personal Options in WordPress’ User Profile


Adding this code to the functions.php of your wordpress theme
function hide_personal_options() {
?>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#your-profile .form-table:first, #your-profile h3:first").remove();
});
</script>
<?php
}
add_action( 'personal_options', 'hide_personal_options');

1 comment:

  1. I have read your article couple of times because your views are on my own for the most part. It is great content for every reader. hide wordpress paths

    ReplyDelete