So I am trying to write a simple plugin that will remove line 614 in the wp-admin/press-this.php file.
this is what I am trying to remove:
remove_action( ‘media_buttons’, ‘media_buttons’ );
So to sum it up, I am trying to figure out how to execute a remove_action of a remove_action.
The reason I want to do this is to get the “Add Media” button to appear in the Press This popup.
- The topic ‘How do I remove a "remove_action" in wordpress?’ is closed to new replies.