Beispiel #1
0
 public static function init()
 {
     global $wpabAdmin;
     global $wpabBlogFeed;
     global $wpabBlogFeedPost;
     global $wpabSweeper;
     $wpabAdmin = new WPAutoblog_Admin();
     $wpabAdmin->init();
     $wpabBlogFeed = new WPAutoblog_BlogFeed();
     $wpabBlogFeed->init();
     $wpabBlogFeedPost = new WPAutoblog_BlogFeedPost();
     $wpabBlogFeedPost->init();
     $wpabSweeper = new WPAutoblog_Sweeper();
     $wpabAdmin->registerComponent($wpabBlogFeed);
     $wpabAdmin->registerComponent($wpabSweeper);
     //
     //$wpabAdmin->registerComponent(new WPAutoblog_Readibility());
 }
Beispiel #2
0
function get_wpab_blog_feed_post_type()
{
    return WPAutoblog_BlogFeed::postName();
}