benecaster_get_automatic_podcast_platforms()
benecaster_get_automatic_podcast_platforms(): array
The entries in the podcast platform list whose link [benecaster_platform_links] generates itself, with no URL for the podcaster to enter. A block or widget picker shows these as a plain on/off choice rather than asking for a link.
Return Value
Type:
array
A list of slugs from benecaster_get_podcast_platforms() — today [ 'rss' ].
Example
$automatic = benecaster_get_automatic_podcast_platforms(); // [ 'rss' ]
$needs_url = array_diff_key( benecaster_get_podcast_platforms(), array_flip( $automatic ) );
Notes
Read-only: the shortcode generates exactly these and no others.
Keep a separate RSS switch in step. The shortcode's own rss="false" attribute suppresses the generated feed link outright. A picker that offers both an Include RSS feed switch and an rss checkbox should keep the two in step rather than let them disagree.
Need this built rather than just documented? See our services →