Skip to content

Filter: apple_news_get_errors

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_get_errors', array $errors, int $post_id )

Modifies the list of errors encountered during publishing.

Parameters

$errors

(array) Errors for this post.

$post_id

(int) The post ID.

More Information

This would allow you to manipulate this list prior to them being used for validation against your alert settings and before they are displayed as notices in the dashboard.

Source

includes/apple-exporter/class-workspace.php

Clone this wiki locally