Skip to content

Filter: apple_news_write_json

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_write_json', string $json, int $post_id )

Similar to apple_news_generate_json, but modifies the JSON before it's written to the workspace.

Parameters

$json

(string) The JSON string, before it is written to the workspace.

$post_id

(int) The post ID.

Source

includes/apple-exporter/class-workspace.php

Clone this wiki locally