Remove Akismet Widget
-
I’ve sucessfully unregistered some default widgets for a customer, but I am not able to remove the Akismet Widget from the Dashboard. There is no way this customer ever wants to use the widget and feels it’s taking up valuable screen space.
I used the following code found here: https://plugins.trac.wordpress.org/ticket/1310
function removeAkismetWidget() { unregister_widget( 'Akismet_Widget' ); } add_action( 'widgets_init', 'removeAkismetWidget' );
But it’s not working. What is the appropriate way to remove the Widget from the Dashboard without using CSS? ( which is not preferable of course.)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove Akismet Widget’ is closed to new replies.