Skip to content
Snippets Groups Projects
Commit ef0d2e59 authored by Jeff Sebring's avatar Jeff Sebring
Browse files

apply filters to feed url

parent ee530b2d
Branches
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment