Skip to content

Filter: apple_news_get_sections_for_post

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_get_sections_for_post', array $post_sections, int $post_id, string $format )

Filters the sections for a post.

Parameters

$post_sections

(array) The sections for the post.

$post_id

(int) The post ID.

$format

(string) The section format (e.g., 'url').

Source

admin/class-admin-apple-sections.php

Clone this wiki locally