threadi Now Pages 1.1.0 has 22 actions and 97 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 threadi Now Pages fires an action
add_action( 'threadi_now_pages_provider_error', function( $arg1, $error ) {
// Your code runs here.
}, 10, 2 );
// Change a value threadi Now Pages is about to use
add_filter( 'threadi_now_pages_frontend_digest_args', function( $args, $user ) {
// Change $args here.
return $args;
}, 10, 2 );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 action is documented in app/Providers/RSS_Provider.php */ do_action( 'threadi_now_pages_provider_error', $this->get_slug(), $error ); -
/** * This hook is documented in app/NowPages/Frontend.php. */ apply_filters( 'threadi_now_pages_frontend_digest_args', $args, $user ); -
/** * This hook is documented in app/NowPages/Entries.php. */ do_action( 'threadi_now_pages_entry_received', $entry, $source_id ); -
/** * Fires when assigning a category to an entry failed. */ do_action( 'threadi_now_pages_category_assign_error', $result, $post_id, $term_id ); -
/** * Fires when a narrative summary could not be generated. */ do_action( 'threadi_now_pages_digest_error', $text, $summarizer_slug, $label ); -
/** * Set the template directory. */ apply_filters( 'threadi_now_pages_set_template_directory', $directory ); -
/** * Filter a single now-page sitemap entry. */ apply_filters( 'threadi_now_pages_sitemap_entry', $entry, null ); -
/** * Fires after a summarizer request has finished. */ do_action( 'threadi_now_pages_summarizer_request', array( 'summarizer' => $this->get_slug(), 'source' => 'api', 'success' => ! is_wp_error( $result ), 'entries' => $entry_count, 'chars_in' => mb_strlen( $this->build_raw_text( $entries ) ), 'chars_out' => is_wp_error( $result ) ? 0 : mb_strlen( (string) $result ), 'duration' => (int) round( ( microtime( true ) - $started ) * 1000 ), 'language' => $language, ) ); -
/** * Filter the transients from the database. */ apply_filters( "etfw_{$this->get_slug()}_transients", $transients_from_db ); -
/** * This filter is documented in wp-includes/http.php */ apply_filters( 'http_request_host_is_external', false, $host, '' ); -
/** * Filter the advice for a wish before it is cached and shown. */ apply_filters( 'threadi_now_pages_advice', $advice, $wish, $data ); -
/** * Filter the instruction the model of the advisor works by. */ apply_filters( 'threadi_now_pages_advisor_instruction', implode( "\n", $lines ), $with_search, $with_schema ); -
/** * Filter whether the advisor is offered. */ apply_filters( 'threadi_now_pages_advisor_is_available', $this->is_enabled() && $this->has_ai_client() ); -
/** * Filter the answer of the model before it is requested. */ apply_filters( 'threadi_now_pages_advisor_pre_request', null, $wish ); -
/** * Fires after a source has been created from a proposal of the advisor. */ do_action( 'threadi_now_pages_advisor_source_created', $created['source_id'], $proposal, $created['status'] ); -
/** * Filter whether the model may search the web, if the connected service offers * it. */ apply_filters( 'threadi_now_pages_advisor_use_web_search', true ); -
/** * Filter how long a generated summary is cached. */ apply_filters( 'threadi_now_pages_ai_cache_lifetime', WEEK_IN_SECONDS ); -
/** * Filter the maximum length of a generated summary in characters. */ apply_filters( 'threadi_now_pages_ai_max_length', 1500 ); -
/** * Filter how many summaries may be requested from the AI per hour. */ apply_filters( 'threadi_now_pages_ai_max_requests_per_hour', 30 ); -
/** * Filter the temperature used for the narrative summary. */ apply_filters( 'threadi_now_pages_ai_temperature', null, $language ); -
/** * Filter the used CSS class for Avada widgets. */ apply_filters( 'threadi_now_pages_avada_class', $class_name, $instance ); -
/** * Filter the flow elements used by Avada to format output in frontend. */ apply_filters( 'threadi_now_pages_avada_fusion_flow_elements', $flow_elements ); -
/** * Filter the texts explaining the error codes of the analyzer. */ apply_filters( 'threadi_now_pages_availability_error_texts', $texts, $error_code ); -
/** * Filter the tests run against a source. */ apply_filters( 'threadi_now_pages_availability_tests', $tests, $url ); -
/** * Filter which post types the "threadi_now_pages_category" taxonomy is * attached to. */ apply_filters( 'threadi_now_pages_category_object_types', $object_types ); -
/** * Filter the arguments passed to register_taxonomy() for * "threadi_now_pages_category". */ apply_filters( 'threadi_now_pages_category_taxonomy_args', $args ); -
/** * Run additional tasks after old entries have been deleted. */ do_action( 'threadi_now_pages_cleanup_done', $deleted, $days ); -
/** * Filter how many entries one cleanup run deletes at most. */ apply_filters( 'threadi_now_pages_cleanup_max_per_run', $max_per_run, $days ); -
/** * Filter the fields content filter rules may use. */ apply_filters( 'threadi_now_pages_content_filter_fields', $fields, $provider ); -
/** * Filter the content filter rules applied to an entry before it is imported. */ apply_filters( 'threadi_now_pages_content_filter_rules', $rules, $sources_id ); -
/** * Filter the current front-end language (2-letter code). */ apply_filters( 'threadi_now_pages_current_language', self::normalize_locale( get_locale() ) ); -
/** * Filter the dashboard-widgets used by this plugin. */ apply_filters( 'threadi_now_pages_dashboard_widgets', $dashboard_widgets ); -
/** * Filter the HTML a rendered digest may contain. */ apply_filters( 'threadi_now_pages_digest_allowed_html', $allowed ); -
/** * Filter the frontend delay notice. Empty string = hide. */ apply_filters( 'threadi_now_pages_digest_delay_notice', $text, $args ); -
/** * Filter the note about the period of a digest. */ apply_filters( 'threadi_now_pages_digest_period_text', $text, $args ); -
/** * Filter the WP_Query arguments used to fetch entries for a digest. */ apply_filters( 'threadi_now_pages_digest_query_args', $query_args, $args ); -
/** * Filter the URL a source name links to. */ apply_filters( 'threadi_now_pages_digest_source_url', $url, $entry, $settings ); -
/** * Disable the additional cron check. */ apply_filters( 'threadi_now_pages_disable_cron_check', $false ); -
/** * Filter the available Divi widgets. */ apply_filters( 'threadi_now_pages_divi4_widgets', $threadi_now_pages_module_files ); -
/** * Filter the email header. */ apply_filters( 'threadi_now_pages_email_headers', $headers ); -
/** * Filter the list of possible email objects. */ apply_filters( 'threadi_now_pages_emails', $trigger ); -
/** * Fires after a new entry has been stored. */ do_action( 'threadi_now_pages_entry_added', (int) $post_id, $entry, $sources_id ); -
/** * Fires after the user confirmed an entry which was waiting. */ do_action( 'threadi_now_pages_entry_confirmed', $entry_id ); -
/** * Fires after an entry which was waiting has been discarded. */ do_action( 'threadi_now_pages_entry_discarded', $entry_id ); -
/** * Filter whether an entry counts as manually created. */ apply_filters( 'threadi_now_pages_entry_is_manual', $is_manual, $entry ); -
/** * Filter the filename for CSV-download. */ apply_filters( 'threadi_now_pages_export_filename', $filename ); -
/** * Filter the content of a summary before it is shared in the Fediverse. */ apply_filters( 'threadi_now_pages_fediverse_digest_content', $content, $start, $end ); -
/** * Filter how many single entries are shared in the Fediverse per run. */ apply_filters( 'threadi_now_pages_fediverse_entries_per_run', self::ENTRIES_PER_RUN ); -
/** * Filter the content of a single entry before it is shared in the Fediverse. */ apply_filters( 'threadi_now_pages_fediverse_entry_content', $content, $entry ); -
/** * Filter whether something is there which federates our updates. */ apply_filters( 'threadi_now_pages_fediverse_is_available', defined( 'ACTIVITYPUB_PLUGIN_VERSION' ) ); -
/** * Fires after an update for the Fediverse has been created. */ do_action( 'threadi_now_pages_fediverse_update_created', absint( $post_id ), $entry_id ); -
/** * Filter the used file version (for JS- and CSS-files, which get enqueued). */ apply_filters( 'threadi_now_pages_file_version', $plugin_version, $filepath ); -
/** * Filter the digest HTML body (not the full document). */ apply_filters( 'threadi_now_pages_frontend_content', $this->content, $this->user, $this->args ); -
/** * Filter the resolved template path. */ apply_filters( 'threadi_now_pages_frontend_template', $located, $templates, $this->user ); -
/** * Filter the list of template names looked up in the theme. */ apply_filters( 'threadi_now_pages_frontend_templates', array( 'threadi-now-pages/threadi-now-pages.php', 'threadi-now-pages.php', 'now.php', ), $this->user ); -
/** * Filter the text describing a single GitHub event. */ apply_filters( 'threadi_now_pages_github_event_text', $text, $type, $repo, $payload ); -
/** * Filter the sidebar content. */ apply_filters( 'threadi_now_pages_help_sidebar_content', $sidebar_content ); -
/** * Filter the list of help tabs with its contents. */ apply_filters( 'threadi_now_pages_help_tabs', $list ); -
/** * Hide intro via hook. */ apply_filters( 'threadi_now_pages_hide_intro', $false ); -
/** * Filter the support part of an email. */ apply_filters( 'threadi_now_pages_import_error_support_hint', $support_part ); -
/** * Filter the time in seconds an import may use for its sources. */ apply_filters( 'threadi_now_pages_import_time_budget', self::IMPORT_TIME_BUDGET ); -
/** * Filter the list of possible intervals. */ apply_filters( 'threadi_now_pages_intervals', $list ); -
/** * Filter whether the now page is publicly available. */ apply_filters( 'threadi_now_pages_is_public', $is_public, $for_author ); -
/** * Filter whether the settings of this plugin are built in the actual request. */ apply_filters( 'threadi_now_pages_is_settings_request', $result ); -
/** * Filter the list of available knowledge center entries. */ apply_filters( 'threadi_now_pages_knowledge_center_entries', $entries ); -
/** * Filter the list of possible log categories. */ apply_filters( 'threadi_now_pages_log_categories', $list ); -
/** * Filter the used category. */ apply_filters( 'threadi_now_pages_log_category', $category ); -
/** * Filter for errors. */ apply_filters( 'threadi_now_pages_log_errors', $errors ); -
/** * Filter limit to prevent possible errors on big tables. */ apply_filters( 'threadi_now_pages_log_limit', $limit ); -
/** * Filter the used md5. */ apply_filters( 'threadi_now_pages_log_md5', $md5 ); -
/** * Filter the list before output. */ apply_filters( 'threadi_now_pages_log_table_filter', $list ); -
/** * Filter whether a log entry should be written when debug mode is enabled. */ apply_filters( 'threadi_now_pages_log_with_debug', $should_log, $category, $state, $log, $md5 ); -
/** * Filter whether a log entry should be written when debug mode is disabled. */ apply_filters( 'threadi_now_pages_log_without_debug', $should_log, $category, $state, $log, $md5 ); -
/** * Filter category-slug → sentence template map (fallback when term meta is * empty). */ apply_filters( 'threadi_now_pages_narrative_category_templates', array() ); -
/** * Filter the pool of connector phrases used between sentences. */ apply_filters( 'threadi_now_pages_narrative_connectors', array( __( 'I also', 'threadi-now-pages' ), __( 'Besides that, I', 'threadi-now-pages' ), __( 'On top of that, I', 'threadi-now-pages' ), ) ); -
/** * Filter the sentence template used to turn one entry's text into a sentence. */ apply_filters( 'threadi_now_pages_narrative_sentence_template', $template, $entry, $slugs ); -
/** * Filter whether the entry text start should be lowercased for narrative * templates. */ apply_filters( 'threadi_now_pages_narrative_soften_start', true, $text ); -
/** * Add additional objects for this plugin, which use custom tables. */ apply_filters( 'threadi_now_pages_objects_with_db_tables', $objects ); -
/** * Filter the page builder used to prefill a new now page. */ apply_filters( 'threadi_now_pages_page_builder_for_page', $active ); -
/** * Filter the possible page builders. */ apply_filters( 'threadi_now_pages_pagebuilder', $list ); -
/** * Filter the list of possible periods. */ apply_filters( 'threadi_now_pages_periods', $list ); -
/** * Filter what is wrong with the address of a source, before its host is looked * up. */ apply_filters( 'threadi_now_pages_pre_address_problem', null, $url ); -
/** * Filter the groups presets are sorted into. */ apply_filters( 'threadi_now_pages_preset_groups', $groups ); -
/** * Filter the arguments of a provider request. */ apply_filters( 'threadi_now_pages_provider_request_args', $args, $url, $this->get_slug() ); -
/** * Fires once the built-in digest formats are registered. */ do_action( 'threadi_now_pages_register_digest_formats', $interface ); -
/** * Filter the post-types. */ apply_filters( 'threadi_now_pages_register_post_type', $post_types ); -
/** * Fires once the built-in presets are registered. */ do_action( 'threadi_now_pages_register_presets', $interface ); -
/** * Fires once the built-in providers are registered. */ do_action( 'threadi_now_pages_register_providers', $interface ); -
/** * Fires once the built-in summarizers are registered. */ do_action( 'threadi_now_pages_register_summarizers', $interface ); -
/** * Filter the digest args used for the report email. */ apply_filters( 'threadi_now_pages_report_digest_args', $args, $start, $end ); -
/** * Filter whether to activate this schedule. */ apply_filters( 'threadi_now_pages_schedule_enabling', $false, $instance ); -
/** * Filter the interval to a single schedule. */ apply_filters( 'threadi_now_pages_schedule_interval', $interval, $instance ); -
/** * Filter the list of our own events, e.g., to check if all, which are enabled * in setting are active. */ apply_filters( 'threadi_now_pages_schedule_our_events', $our_events ); -
/** * Add custom schedule-objects to use. */ apply_filters( 'threadi_now_pages_schedules', $list_of_schedules ); -
/** * Filter the configured setup for this plugin. */ apply_filters( 'threadi_now_pages_setup', $setup ); -
/** * Run additional tasks if the setup is marked as completed. */ do_action( 'threadi_now_pages_setup_completed' ); -
/** * Filter the setup configuration. */ apply_filters( 'threadi_now_pages_setup_config', $config ); -
/** * Filter the setup complete marker. */ apply_filters( 'threadi_now_pages_setup_is_completed', $completed ); -
/** * Filter the text for display if the setup has been run. */ apply_filters( 'threadi_now_pages_setup_process_completed_text', $completed_text, $config_name ); -
/** * Fires after the setup created a source from a preset. */ do_action( 'threadi_now_pages_setup_source_created', absint( $post_id ), $preset ); -
/** * Prevent adding the WordPress-internal help for our plugin. */ apply_filters( 'threadi_now_pages_show_help', $allowed, $screen ); -
/** * Filter what a source can be created from. */ apply_filters( 'threadi_now_pages_source_catalog', $catalog, $with_options ); -
/** * Fires after the entries of a source followed the category of this source. */ do_action( 'threadi_now_pages_source_category_changed', $source_id, $term_id, $previous, $changed ); -
/** * Fires after a source has been created by the setup, an ability or the * advisor. */ do_action( 'threadi_now_pages_source_created', absint( $post_id ), $provider_slug, $args ); -
/** * Run additional tasks after a duplicate was detected. */ do_action( 'threadi_now_pages_source_duplicate', $provider_obj, $duplicate, $post_id, $identity ); -
/** * Filter the fields for providers on settings for sources. */ apply_filters( 'threadi_now_pages_source_fields', $fields ); -
/** * Filter the list of possible states in the log table. */ apply_filters( 'threadi_now_pages_status_list', $list ); -
/** * Filters whether a given webhook token is valid. */ apply_filters( 'threadi_now_pages_validate_webhook_token', $is_valid, $token, $request ); -
/** * Filter the client identifier used for rate limiting. */ apply_filters( 'threadi_now_pages_webhook_client_ip', $ip ); -
apply_filters( 'dslc_module_options', $dslc_options, $this->module_id ); -
themify_builder_after_template_content_render
action Used by 3 plugins → Copy link Customise this hookdo_action( 'themify_builder_after_template_content_render' ); -
themify_builder_before_template_content_render
action Used by 3 plugins → Copy link Customise this hookdo_action( 'themify_builder_before_template_content_render' ); -
apply_filters( 'themify_builder_module_classes', array( 'module', 'module-' . $args['mod_name'], $args['module_ID'], ), $args['mod_name'], $args['module_ID'], $threadi_np_fields_args ); -
apply_filters( 'themify_builder_module_container_props', array( 'id' => $args['module_ID'], 'class' => implode( ' ', $threadi_np_container_class ), ), $threadi_np_fields_args, $args['mod_name'], $args['module_ID'] ); -
apply_filters( 'threadi_now_pages_digest_range', array( $after, $before ), $args ); -
apply_filters( 'threadi_now_pages_entry_text_linkified', $html, $text ); -
apply_filters( 'threadi_now_pages_entry_text_pre_linkify', $text ); -
apply_filters( 'threadi_now_pages_webhook_max_text_length', self::MAX_TEXT_LENGTH );
Generated from threadi Now Pages'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: