feat: add peptide-news-plugin/includes/class-peptide-news-fetcher.php

This commit is contained in:
peptiderepo
2026-04-05 20:31:22 +07:00
parent 89304ccee6
commit 76f398d4c6

View 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