feat: add peptide-news-plugin/includes/class-peptide-news-fetcher.php
This commit is contained in:
15
peptide-news-plugin/includes/class-peptide-news-fetcher.php
Normal file
15
peptide-news-plugin/includes/class-peptide-news-fetcher.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* Fetcher class for fetching articles from NewsAPI TöOa. and RSS feeds.
|
||||
*
|
||||
* Fetches articles from configured sources and stores them in the database.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
class Peptide_News_Fetcher {
|
||||
|
||||
public function fetch() {
|
||||
global $wpdb;
|
||||
|
||||
// Fetch from NewsAP
|
||||
Reference in New Issue
Block a user