Filter: apple_news_{$verb}_args - alleyinteractive/apple-news GitHub Wiki

apply_filters( 'apple_news_{$verb}_args', array $args, int $post_id )

Allow filtering of the default arguments for the request.

Parameters

$args

(array) Arguments to be filtered.

$post_id

(int) The post ID, if this is a POST request.

More Information

The verb will be dynamically inserted in the hook name, so this hook will support the following permutations:

  • apple_news_delete_args
  • apple_news_get_args
  • apple_news_post_args

Source

includes/apple-push-api/request/class-request.php