search_feed_link

search_feed_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('search_feed_link') is found 2 times:

  • /wp-includes/link-template.php line 1254
    	 * @param string $link Search feed link.
    	 * @param string $feed Feed type. Possible values include 'rss2', 'atom'.
    	 * @param string $type The search type. One of 'posts' or 'comments'.
    	 */
    	return apply_filters( 'search_feed_link', $link, $feed, 'posts' );
    }
    
    /**
     * Retrieves the permalink for the search results comments feed.
     *
     * @since 2.5.0
    
  • /wp-includes/link-template.php line 1287
    		$link = add_query_arg( 'withcomments', 1, $link );
    	}
    
    	/** This filter is documented in wp-includes/link-template.php */
    	return apply_filters( 'search_feed_link', $link, $feed, 'comments' );
    }
    
    /**
     * Retrieves the permalink for a post type archive.
     *
     * @since 3.1.0