How to hide Events and admin bar on the profile page (WordPress)

<script type="text/javascript">
jQuery(document).ready(function($ ){
           $("#your-profile h3:first").remove();
           $("h3:contains('Events Made Easy')").hide().next('.form-table').remove();
           $(".show-admin-bar").remove();
});
</script>

Leave a Reply

Your email address will not be published. Required fields are marked *