Skip to content

Filter: apple_news_{$verb}_args

kevinfodness edited this page Oct 23, 2020 · 1 revision

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

Clone this wiki locally