/** * [podlove-podcast-donations-list] shortcode */ public static function podcast_donations_list() { return \Podlove\Template\TwigFilter::apply_to_html('@social/podcast-donations-list.twig'); }
function episode_list() { return \Podlove\Template\TwigFilter::apply_to_html('@core/shortcode/episode-list.twig'); }
/** * Related Episodes Shortcode * * @param array $args List of arguments. (none supported) * @param string $content Optional shortcode content. If any is set it is inserted before the list. But only if there are entries. * @return string */ public static function related_episodes($args = [], $content = '') { return \Podlove\Template\TwigFilter::apply_to_html('@related-episodes/related-episodes-list.twig', ['before' => $content]); }
public function podlove_podcast_contributor_list($attributes) { if (!is_array($attributes)) { $attributes = array(); } $this->settings = array_merge(self::shortcode_defaults(), $attributes); return \Podlove\Template\TwigFilter::apply_to_html('@contributors/podcast-contributor-table.twig', $this->settings); }