function mainwp_post_publish() { $this->secure_request('mainwp_post_publish'); MainWPRecentPosts::publish(); }