Tag Info

New answers tagged

0

Adding to my comment on the accepted answer you should do this as well otherwise they can just change it on their profile page which defeats the purpose of the other functions. You can even go ahead and house the field with jQuery .hide or css. function disable_html_editor_update() { global $wpdb; $wpdb->query("UPDATE" . $wpdb->prefix . ...


0

This requires two steps: 1) First, we need to hide the editor tabs, which can be accomplished easily enough using CSS. We'll output some CSS to the admin head to do that: function hide_editor_tabs() { global $pagenow; // Only output the CSS if we're on the edit post or add new post screens. if ( ! ( 'post.php' == $pagenow || 'post-new.php' == ...



Top 50 recent answers are included