From ef0d2e59d51fc0b6fd90c3ad2a5920d64894ea8a Mon Sep 17 00:00:00 2001
From: Jeff Sebring <jeff@jeffsebring.com>
Date: Sat, 15 Jun 2013 21:16:06 -0700
Subject: [PATCH] apply filters to feed url

---
 includes/class-syndication-wp-xml-client.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/includes/class-syndication-wp-xml-client.php b/includes/class-syndication-wp-xml-client.php
index c715f58..aa93cbb 100644
--- a/includes/class-syndication-wp-xml-client.php
+++ b/includes/class-syndication-wp-xml-client.php
@@ -50,6 +50,9 @@ class Syndication_WP_XML_Client implements Syndication_Client {
 	 * @return array array( 'id' => (string) $transport_name, 'modes' => array( 'push', 'pull' ), 'name' => (string) $name );
 	 */
 	private function set_feed_url($url) {
+
+		$url = apply_filters( 'syn_feed_url', $url );
+
 		if ( parse_url( $url ) ) {
 			$this->feed_url = $url;
 		} else {
-- 
GitLab