Estasoft News Distribution 1.1.0 has 20 actions and 73 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Estasoft News Distribution fires an action
add_action( 'estasoft_nd_output_changed', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Estasoft News Distribution is about to use
add_filter( 'estasoft_nd_internal_feed_articles', function( $articles, $channel, $language ) {
// Change $articles here.
return $articles;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * This filter is documented in Frontend/FeedController.php. */ apply_filters( 'estasoft_nd_internal_feed_articles', $articles, $channel, $language ); -
/** * This action is documented in src/Core/Settings.php. */ do_action( 'estasoft_nd_output_changed', 'restore' ); -
/** * Answers the credit of an image, when the image credits feature keeps it * somewhere else. */ apply_filters( 'estasoft_nd_internal_image_credit', null, $attachment ); -
/** * Changes the stored text channels read, such as adding a saved correction * note at its end (internal). */ apply_filters( 'estasoft_nd_internal_article_content', (string) $post->post_content, $post ); -
/** * This filter is documented in Core\ArticleService::results(). */ apply_filters( 'estasoft_nd_internal_article_results', $out, $post, $language ); -
/** * Gives the short text platforms print under the headline, such as one a * person chose to use in feeds only (internal). */ apply_filters( 'estasoft_nd_internal_article_summary', '', $post ); -
/** * Changes the title channels read, such as a title a person chose to use in * feeds only (internal). */ apply_filters( 'estasoft_nd_internal_article_title', wp_strip_all_tags( (string) $post->post_title ), $post ); -
/** * Lets something hold a pulled feed or sitemap back, such as demo mode * (internal). A held request is not logged: the platform did not get the feed. */ apply_filters( 'estasoft_nd_internal_feed_hold', null, $channel, $slug ); -
/** * This filter is documented in Admin/Reports/TranslationsReport.php. */ apply_filters( 'estasoft_nd_internal_new_translation_url', '', $source_id, $language ); -
/** * Filters the permission (scope) a sign-in asks for. For the day a provider's * name for it differs from the one this version knows; the Yandex names are * unverified. */ apply_filters( 'estasoft_nd_internal_oauth_scope', self::GOOGLE_SCOPE, self::GOOGLE ); -
/** * Fires after a settings section was saved. */ do_action( 'estasoft_nd_settings_saved', $name, $saved, $previous ); -
/** * Filters the email before it is sent. */ apply_filters( 'estasoft_nd_alert_email', $model, $type, $context ); -
/** * Lets an add-on print more tags on News Distribution screens. */ apply_filters( 'estasoft_nd_allowed_html', $tags ); -
/** * Filters the platforms in the application tracker. */ apply_filters( 'estasoft_nd_application_platforms', $platforms ); -
/** * Fires when a delivery failed for good: it will not be tried again. */ do_action( 'estasoft_nd_delivery_failed', $article_id, $channel_id, $language, $event_type, $attempt, $result->code(), $result->message() ); -
/** * Filters the HTTP headers of a feed response, such as the WebSub Link header. */ apply_filters( 'estasoft_nd_feed_headers', $common, $channel, $language ); -
/** * Filters the WebSub hubs a feed names. */ apply_filters( 'estasoft_nd_feed_hubs', array(), $slug ); -
/** * Filters the platforms the fetch log can name. */ apply_filters( 'estasoft_nd_fetch_agents', $map ); -
/** * Filters the IndexNow endpoint. */ apply_filters( 'estasoft_nd_indexnow_endpoint', self::ENDPOINT ); -
/** * A published article got a new address and kept its ID (internal). */ do_action( 'estasoft_nd_internal_address_changed', $post_id, $old, $new, $before->post_name !== $post->post_name && ! is_post_type_hierarchical( $post->post_type ) ); -
/** * Whether the AI assistant may run for this article. */ apply_filters( 'estasoft_nd_internal_ai_available', false, $post_id, $user_id ); -
/** * Replaces the text generator (internal; tests use it so nothing leaves the * machine). */ apply_filters( 'estasoft_nd_internal_ai_generator', null ); -
/** * Changes the languages an AI draft can go into (internal; tests use it). */ apply_filters( 'estasoft_nd_internal_ai_languages', $found ); -
/** * Runs after an AI translation draft was saved (internal), so a translation * plugin can link it. */ do_action( 'estasoft_nd_internal_ai_translation_created', $new, (int) $source->ID, $language ); -
/** * Whether a reminder is still needed. */ apply_filters( 'estasoft_nd_internal_alert_still_open', true, $type, $context ); -
/** * A whole page for another tab of the Alerts section (internal; the AI * assistant owns `weekly-ai`). */ apply_filters( 'estasoft_nd_internal_alerts_tab', null, $tab ); -
/** * Answers who can read an article, when the editor keeps that choice somewhere * else. */ apply_filters( 'estasoft_nd_internal_article_access', null, $post_id ); -
/** * Lets the feature that assigns fixes change who is shown as having assigned * them (internal). */ apply_filters( 'estasoft_nd_internal_assigned_fixes', $out, $user_id ); -
/** * Lets a feature print a field in the classic editor box. */ do_action( 'estasoft_nd_internal_classic_box', $post, $options ); -
/** * Lets a feature save the field it printed in the classic editor box. */ do_action( 'estasoft_nd_internal_classic_box_save', $post_id, $post ); -
/** * Lets another plugin or a test supply the co-authors of a post. */ apply_filters( 'estasoft_nd_internal_coauthors', null, $post_id ); -
/** * Whether a save always moves the modified date, whatever else changed. */ apply_filters( 'estasoft_nd_internal_date_guard_always_moves', false, $old, $saved, $post_id ); -
/** * Lets the article's release plan change how long a push waits (internal). */ apply_filters( 'estasoft_nd_internal_delivery_delay', $channel->delay_seconds( $event ), $channel, $event ); -
/** * Lets a host or a test say pictures cannot be drawn, so the samples are made * without them (internal). */ apply_filters( 'estasoft_nd_internal_demo_pictures', true ); -
/** * Lets another part of the plugin add a section to the email (internal; the AI * assistant adds its opening paragraph). */ apply_filters( 'estasoft_nd_internal_digest_model', $model, $digest ); -
/** * Lets a test or a host replace the environment type WordPress reports * (internal). */ apply_filters( 'estasoft_nd_internal_environment_type', wp_get_environment_type() ); -
/** * Whether the Follow block is added to the end of this article. */ apply_filters( 'estasoft_nd_internal_follow_append', true, (int) $post->ID ); -
/** * Lets a site or the plugin add an exception to the server's gate (internal): * return false to let this save through. */ apply_filters( 'estasoft_nd_internal_gate_applies', true, $postarr, $old_status ); -
/** * Changes how many seconds the server's check may take before it lets the * article through (internal). */ apply_filters( 'estasoft_nd_internal_gate_budget', self::BUDGET ); -
/** * Changes the kind of request the gate thinks it is in (internal): `import`, * `cli`, `cron` or an empty string. */ apply_filters( 'estasoft_nd_internal_gate_context', $context ); -
/** * Changes the caption a channel writes for an image (internal). */ apply_filters( 'estasoft_nd_internal_image_caption', $line, $attachment, $caption, $credit ); -
/** * Lets demo mode tell its sample articles apart by language when the site has * no translation plugin (internal). */ apply_filters( 'estasoft_nd_internal_language_query_args', $args, $language ); -
/** * Lets the AI workstream or another plugin add a provider a network can allow. */ apply_filters( 'estasoft_nd_internal_network_ai_providers', $list ); -
/** * The time one pass over the sites may take, in seconds. */ apply_filters( 'estasoft_nd_internal_network_loop_budget', (float) self::BUDGET_SECONDS ); -
/** * Lets the AI workstream or another plugin correct the provider and the tokens * a site shows. */ apply_filters( 'estasoft_nd_internal_network_site_ai', $row, $blog_id ); -
/** * Lets a feature declare more keys of the per-article choices. */ apply_filters( 'estasoft_nd_internal_options_schema', $properties ); -
/** * Supplies the page title written for an article. */ apply_filters( 'estasoft_nd_internal_page_title', null, $article->id() ); -
/** * Answers the versions of an article for the translations report. */ apply_filters( 'estasoft_nd_internal_post_translations', null, $post_id ); -
/** * Another News Distribution feature adds its Quick Edit fields here, inside * the fieldset. */ do_action( 'estasoft_nd_internal_quick_edit_fields', (string) $post_type ); -
/** * Changes how many visits one article can count under one source in a minute * (internal). */ apply_filters( 'estasoft_nd_internal_referral_cap', self::DEFAULT_CAP ); -
/** * Changes how many figures a settings file holds (internal). */ apply_filters( 'estasoft_nd_internal_referral_export_rows', $limit > 0 ? $limit : self::EXPORT_ROWS ); -
/** * Adds hosts to the sources a visit is counted under (internal). */ apply_filters( 'estasoft_nd_internal_referral_hosts', array() ); -
/** * Replaces the classes behind `GET /reports/digest` and `/readiness` * (internal; tests use it). */ apply_filters( 'estasoft_nd_internal_report_services', $services ); -
/** * Filters the rule packs read for this request, keyed by platform id. */ apply_filters( 'estasoft_nd_internal_rule_packs', $this->packs ); -
/** * Fires before Send now queues anything, so a waiting delivery or a release * plan does not stand in its way (internal). */ do_action( 'estasoft_nd_internal_send_now', $post_id, $only ); -
/** * Supplies the content of a root-level file. */ apply_filters( 'estasoft_nd_internal_serve_file', null, $name ); -
/** * Serves a partner feed. The partner module listens and answers; if nothing * does, the address is a 404. */ do_action( 'estasoft_nd_internal_serve_partner_feed', sanitize_key( (string) $vars[ self::VAR_PARTNER ] ) ); -
/** * Lets demo mode add the languages of its sample articles to a site that has * no translation plugin (internal). */ apply_filters( 'estasoft_nd_internal_site_languages', $languages ); -
/** * The slugs the publisher trust check looks for a page under. */ apply_filters( 'estasoft_nd_internal_trust_slugs', $slugs, $kind ); -
/** * Fires when a restore point could not be saved before an update. The update * goes on. */ do_action( 'estasoft_nd_internal_update_point_failed', $error ); -
/** * Answers a video lookup without a request (internal, for tests). */ apply_filters( 'estasoft_nd_internal_video_lookup', null, $site, $url, $video ); -
/** * Changes the data of one video before it is printed (internal). */ apply_filters( 'estasoft_nd_internal_video_object', $data, $video ); -
/** * Filters the language code of one article. */ apply_filters( 'estasoft_nd_language_resolver', $language, $post_id ); -
/** * Fires once the plugin has started. */ do_action( 'estasoft_nd_loaded', $this ); -
/** * Fires after the daily clean-up, so other parts of the plugin can add their * own. */ do_action( 'estasoft_nd_maintenance', $days ); -
/** * Filters the thumbnail written into a Microsoft Start item. */ apply_filters( 'estasoft_nd_microsoft_start_thumbnail', $image, $article ); -
/** * Lets an add-on say whether an article is local. Return false to leave the * article out; return null (the default) when nothing is known. Nothing in * News Distribution sets it on its own. */ apply_filters( 'estasoft_nd_news_break_local', null, $article ); -
/** * Fires when a supported post is published, updated, unpublished or deleted. */ do_action( 'estasoft_nd_post_event', $event ); -
/** * Filters what the Privacy screen lists. */ apply_filters( 'estasoft_nd_privacy_inventory', $inventory ); -
/** * Filters the paragraphs of the suggested privacy policy text. */ apply_filters( 'estasoft_nd_privacy_policy_paragraphs', $paragraphs ); -
/** * Fires when addresses should be dropped from a cache after a real change. */ do_action( 'estasoft_nd_purge_urls', $urls ); -
/** * Fires once the built-in channels are registered. */ do_action( 'estasoft_nd_register_channels', $this->registry ); -
/** * Fires when a takedown is undone and the article is back in the feeds and * sitemaps. */ do_action( 'estasoft_nd_takedown_restored', $post_id, new Event( Event::PUBLISH, $post_id, $this->plugin->languages()->language_of_post( $post_id ) ) ); -
/** * Fires when a takedown starts, after the article is out of every feed and * sitemap News Distribution builds. */ do_action( 'estasoft_nd_takedown_started', $post_id, new Event( Event::UNPUBLISH, $post_id, $language, null, Removed::recall( $post_id ) ) ); -
/** * Filters the feed addresses a WebSub ping names for one language. */ apply_filters( 'estasoft_nd_websub_topics', $topics, $language ); -
/** * This filter is documented in wp-includes/pluggable.php. */ apply_filters( 'wp_mail_from', 'wordpress@' . $host ); -
/** * This filter is documented in wp-includes/pluggable.php. */ apply_filters( 'wp_mail_from_name', 'WordPress' ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) ); -
do_action( 'wpml_set_element_language_details', array( 'element_id' => $draft, 'element_type' => $type, 'trid' => $trid, 'language_code' => $language, 'source_language_code' => $resolver->language_of_post( $source ), ) ); -
do_action( 'wpml_switch_language', $language ); -
apply_filters( 'estasoft_nd_internal_appbar_end', '', $current ); -
apply_filters( 'estasoft_nd_internal_channel_tabs', array(), $channel->id() ); -
apply_filters( 'estasoft_nd_internal_delivery_hold', null, $channel, $event, $article ); -
apply_filters( 'estasoft_nd_internal_global_banner', '', $page ); -
apply_filters( 'estasoft_nd_internal_teams_hosts', self::TEAMS_HOSTS ); -
apply_filters( "plugin_action_links_{$found['file']}", array() ); -
apply_filters( 'the_content', HtmlClean::drop_empty_paragraphs( $article->content() ) ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_default_language', null ); -
apply_filters( 'wpml_element_trid', null, $source, $type ); -
apply_filters( 'wpml_object_id', $post_id, $type, false, $code ); -
apply_filters( 'wpml_post_language_details', null, $post_id );
Generated from Estasoft News Distribution's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: