How to remove feeds from the Dashboard
-
A bunch of people were having an issue with this, including myself, making a variety of plugins and other things. All I wanted to do was turn off the feeds from loading (I thought the AJAX loading was solving it, but it was still requiring the local PHP to make a connection, which is slow/breaks behind corporate firewalls)
I knew there had to be a way, I tried a bunch of different methods to try to kill off the index_js() from being called, etc. This wound up working, I am not sure if a single remove_action line would work but I tried a variety of priorities and none seemed to work. However, adding an action which calls remove action worked. Doesn’t seem like anyone had a simple solution for just that.
Enjoy!
function remove_dashboard_feeds() { remove_action('admin_head', 'index_js'); } add_action('admin_head', 'remove_dashboard_feeds', 1);
- The topic ‘How to remove feeds from the Dashboard’ is closed to new replies.