WPMU How to delete the initial post (1) and page (2) ?
-
I created a plugin that should delete the inital post and page on every new blog. I used the add_action(‘wpmu-new_blog’,’my function’) to initiate the function. This works for all my other functions but not for the function which just should delete the post and page. As a worround I used the plugin default new blogs which offers me to draft the first post but I am still not able just to delete them. This is really weird, whatever I try nothing works. I also tried to make a direct mysql query to delete the page but even that didn’t work. Even when I set the weight of the add_action to 1000 it didn’t work.
I am pretty sure that this is not the first question here in this forum but I am not able to search only in this forum ?? So I hope I get a hint from someone. I am also willing to hack the core to disable the creation of this page.
- The topic ‘WPMU How to delete the initial post (1) and page (2) ?’ is closed to new replies.