learndash_pre_posts_feeds( WP_Query $query )

Disables the RSS feeds if the feed support is disabled for the post type.


Description Description

Fires on pre_get_posts hook. Controls the output of the Feeds (RSS2 etc) for the various custom post types used within LearnDash. By default the only feed should be for Courses (sfwd-courses). All other post types are disabled by default.


Parameters Parameters

$query

(Required) WP_Query instance.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.