Auto-generated from PHPDoc at hook call sites. Do not edit by hand; run npm run docs:hooks.
- Type: filter
- Location:
classes/class-list-table-query-builder.php:96 - Parameters:
$records_per_pageβ Number of records per page.
Filter records per page for the Stream list table query.
- Type: filter
- Location:
abilities/class-ability-get-connectors.php:109 - Parameters:
$connectorsβ Registered connector instances.
Filter the connector list returned by the get-connectors ability.
- Type: filter
- Location:
connectors/class-connector-acf.php:120 - Parameters:
$enable_value_logging
Allow devs to disable logging values of rendered forms
- Type: filter
- Location:
connectors/class-connector-settings.php:583 - Parameters:
$url;$record
Filter the action link URL for Settings connector records.
- Type: filter
- Location:
classes/class-list-table-column-renderer.php:175 - Parameters:
$action_linksβ Action links.;$recordβ Record.
Filter allows modification of action links for a specific connector
- Type: filter
- Location:
classes/class-admin-assets.php:204 - Parameters:
$stream_classes
Filter the Stream admin body classes
- Type: action
- Location:
classes/class-admin-menu.php:114
Fires before submenu items are added to the Stream menu allowing plugins to add menu items before Settings
- Type: action
- Location:
classes/class-admin-menu.php:136
Fires just before the Stream list table is registered.
- Type: filter
- Location:
classes/class-admin-menu.php:82 - Parameters:
$main_menu_title
Filter the main admin menu title
- Type: filter
- Location:
classes/class-admin-menu.php:98 - Parameters:
$main_page_title
Filter the main admin page title
- Type: action
- Location:
classes/class-connectors.php:240 - Parameters:
$labelsβ All register connectors labels array;$connector_classesβ The Connectors object
Fires after all connectors have been registered.
- Type: action
- Location:
classes/class-list-table.php:937
Fires after the list table is displayed.
- Type: filter
- Location:
classes/class-author.php:307 - Parameters:
$agentβ Key representing agent.
Filter agent labels
- Type: filter
- Location:
connectors/class-connector-ai-client.php:252 - Parameters:
$prompt_textβ The prompt text about to be logged.;$eventβ The BeforeGenerateResultEvent instance.
Filters the AI prompt text before Stream stores it. Return an empty string to omit the text.
- Type: filter
- Location:
connectors/class-connector-ai-client.php:317 - Parameters:
$response_textβ The response text about to be logged.;$eventβ The AfterGenerateResultEvent instance.
Filters the AI response text before Stream stores it. Return an empty string to omit the text.
- Type: filter
- Location:
alerts/class-alert-type-ifttt.php:250 - Parameters:
$date_formatβ Date format string.;$alertβ The Alert.;$recordarrβ The Record's data.
Filter the date format string Defaults to 'Y-m-d H:i:s'.
- Type: filter
- Location:
alerts/class-alert-type-ifttt.php:236 - Parameters:
$user_fieldβ User data field name.;$alertβ The Alert object.;$recordarrβ Array of Record data.
Filter User data field. Defaults to 'user_login'.
- Type: filter
- Location:
alerts/class-alert-type-ifttt.php:283 - Parameters:
$summaryβ The Record's summary.;$alertβ The Alert.;$recordarrβ Array of Record data.
Filter the first IFTTT alert value
- Type: filter
- Location:
alerts/class-alert-type-ifttt.php:302 - Parameters:
$dateβ The Record's date.;$alertβ The Alert.;$recordarrβ Array of Record data.
Filter the third IFTTT alert value
- Type: filter
- Location:
alerts/class-alert-type-ifttt.php:293 - Parameters:
$user_valueβ The user meta value requested above.;$user_idβ The user ID who fired the Alert.;$alertβ The Alert.;$recordarrβ Array of Record data.
Filter the second IFTTT alert value
- Type: filter
- Location:
classes/class-alert.php:262 - Parameters:
$match;$record_id;$recordarr;$alert
Filter whether an alert trigger matches a record.
- Type: action
- Location:
classes/class-alerts-admin-ui.php:319 - Parameters:
$form;$alert
Fires when displaying the alert trigger form.
- Type: filter
- Location:
classes/class-alerts.php:186 - Parameters:
$classesβ An array of Notifier objects. In the format alert_trigger_slug => Notifier_Class()
Allows for adding additional alert_triggers via classes that extend Notifier.
- Type: filter
- Location:
classes/class-alerts.php:142 - Parameters:
$classesβ An array of Notifier objects. In the format alert_type_slug => Notifier_Class()
Allows for adding additional alert_types via classes that extend Notifier.
- Type: filter
- Location:
classes/class-alerts-admin-ui.php:565 - Location:
classes/class-alerts-list.php:437 - Parameters:
$alert_meta;$alert_type
Filter alert trigger meta before it is saved.
- Type: action
- Location:
classes/class-admin-purge.php:559 - Location:
classes/class-settings.php:331
Fires once per auto-purge cycle, after all bail-out checks pass and immediately before deletion work is enqueued. Preserved for backward compatibility with consumers that hooked the legacy WP-Cron event of the same name in Stream <= 4.1.x. Note that since 4.2.0 this fires only when a purge is actually about to run β it no longer fires on every cron tick regardless of whether work happens. Hook into the recurring AS action (Admin::AUTO_PURGE_ACTION) directly if you need the older "every tick" semantics.
- Type: filter
- Location:
classes/class-admin-purge.php:326 - Location:
classes/class-admin-purge.php:699 - Parameters:
$batch_sizeβ The batch size, default 250000.
Filters the number of records in the {$wpdb->stream} table to do at a time.
- Type: filter
- Location:
classes/class-log.php:133
- Type: filter
- Location:
classes/class-admin-assets.php:137 - Parameters:
$bulk_actions_threshold
The maximum number of items that can be updated in bulk without receiving a warning. Stream watches for bulk actions performed in the WordPress Admin (such as updating many posts at once) and warns the user before proceeding if the number of items they are attempting to update exceeds this threshold value. Since Stream will try to save a log for each item, it will take longer than usual to complete the operation. The default threshold is 100 items.
- Type: filter
- Location:
classes/class-connectors.php:193 - Parameters:
$is_excludedβ True if excluded, otherwise false.;$connectorβ The current connector's slug.;$excluded_connectorsβ An array of all excluded connector slugs.
Allows excluded connectors to be overridden and registered.
- Type: filter
- Location:
classes/class-plugin.php:473 - Parameters:
$client_ip_address
Filter the client IP address stored on Stream records.
- Type: filter
- Location:
connectors/class-connector-comments.php:97 - Parameters:
$comment_type_labels
Filter comment type labels for the Comments connector.
- Type: filter
- Location:
connectors/class-connector-comments.php:669 - Parameters:
$ignored_comment_types
Filter excluded comment types for the Comments connector.
- Type: filter
- Location:
classes/class-connectors.php:267 - Parameters:
$instancesβ An array of Connector objects.
Allows for adding additional connectors via classes that extend Connector.
- Type: filter
- Location:
classes/class-author.php:281 - Parameters:
$agent
Filter the current agent string
- Type: filter
- Location:
classes/class-list-table-column-renderer.php:183 - Parameters:
$custom_linksβ Custom links.;$recordβ Record.
Filter allows addition of custom links for a specific connector
- Type: filter
- Location:
classes/class-query.php:112 - Parameters:
$query;$args
Filter allows the result count query to be modified before execution.
- Type: filter
- Location:
classes/class-plugin.php:193 - Location:
classes/class-plugin.php:412 - Parameters:
$driver_classβ Database driver class name.
Filter the database driver class name used by Stream.
- Type: filter
- Location:
classes/class-query.php:98 - Parameters:
$query;$args
Filter allows the final query to be modified before execution
- Type: filter
- Location:
classes/class-query.php:79 - Parameters:
$whereβ WHERE statement.
Filters query WHERE statement as an alternative to filtering the $query using the hook below.
- Type: filter
- Location:
classes/class-db-driver-wpdb.php:41 - Parameters:
$prefix
Filter the database table prefix used for Stream tables.
- Type: filter
- Location:
classes/class-install.php:318 - Parameters:
$db_update_versions
Filter to alter the DB update versions array
- Type: filter
- Location:
connectors/class-connector-editor.php:111 - Parameters:
$contextβ Context slug;$locationβ The URL of the redirect
Filter available contexts for the Editor connector
- Type: filter
- Location:
connectors/class-connector-editor.php:78 - Parameters:
$context_labelsβ Array of context slugs and their translated labels
Filter available context labels for the Editor connector
- Type: filter
- Location:
classes/class-admin-purge.php:385 - Location:
classes/class-admin-purge.php:493 - Parameters:
$enabledβ Whether auto-purge scheduling is enabled.
Filter whether Stream schedules its TTL record auto-purge at all. Custom storage drivers that manage retention externally (TTL indexes, partition rotation, a warehouse job, etc.) can return false to disable all TTL purge scheduling regardless of the scheduler backend. Any already-registered recurring purge is unscheduled from both backends so it cannot keep firing.
- Type: filter
- Location:
classes/class-export.php:178 - Parameters:
$limitβ The number of records to export.
Filter to change how many records are exported. Increasing this too much could cause your export to time out.
- Type: filter
- Location:
classes/class-export.php:237 - Parameters:
$classesβ An array of Exporter objects. In the format exporter_slug => Exporter_Class()
Allows for adding additional exporters via classes that extend Exporter.
- Type: filter
- Location:
classes/class-form-generator.php:219 - Parameters:
$output;$field_type;$args
Filter HTML for an unrecognized form field type.
- Type: filter
- Location:
classes/class-plugin.php:375 - Parameters:
$commentβ The content of the HTML comment
Filter allows the HTML output of the frontend indicator comment to be altered or removed, if desired.
- Type: filter
- Location:
classes/class-author.php:220 - Parameters:
$separator
Filter the separator between role names in the author display.
wp_stream_hidden_option_fields
- Type: filter
- Location:
classes/class-network.php:283 - Parameters:
$stream_hidden_optionsβ Stream hidden options.
Filter hidden option fields on per-site settings when network activated.
- Type: filter
- Location:
classes/class-list-table-column-renderer.php:153 - Parameters:
$outβ Column content.;$recordβ Record with row content.;$column_nameβ Column name.
Allows for the addition of content under a specified column.
- Type: filter
- Location:
classes/class-plugin.php:509 - Parameters:
$is_large_tableβ Whether or not the number of records should be considered large.;$record_numberβ The number of records being checked.
Filters whether or not the number of records should be considered a large table.
- Type: filter
- Location:
classes/class-plugin.php:444 - Parameters:
$is_network_activatedβ Whether the plugin is network activated.;$pluginβ The stream plugin object.
Filter allows the network activated detection to be overridden.
- Type: filter
- Location:
connectors/class-connector-settings.php:359 - Parameters:
$is_ignoredβ True if ignored, otherwise false.;$option_nameβ Current option name.;$default_ignoredβ Default options for Stream to ignore.
Filters the boolean output for is_option_ignored().
- Type: filter
- Location:
classes/class-log.php:228 - Parameters:
$exclude_recordβ Whether the record should excluded.;$recordarrβ The record to log.
Filters whether or not a record should be excluded from the log. If true, the record is not logged.
- Type: filter
- Location:
classes/class-list-table.php:144 - Parameters:
$columnsβ Columns.
Allows devs to add new columns to table
- Type: filter
- Location:
classes/class-list-table.php:520 - Parameters:
$filtersβ Filters.
Filter allows additional filters in the list table dropdowns Note the format of the filters above, with they key and array containing a title and array of items.
- Type: filter
- Location:
classes/class-list-table.php:59 - Parameters:
$screen_idβ Screen ID.
Filter the list table screen ID
- Type: filter
- Location:
classes/class-connector.php:181 - Parameters:
$dataβ An array of the data to be logged or false if it should not be logged.
Override the data logged. Returning false to this filter will stop the data from being logged. Examples of this filter in use can be found in some of the custom connectors.
- Type: filter
- Location:
classes/class-plugin.php:221 - Parameters:
$logβ Log handler instance.
Filter the log handler instance used to persist Stream records.
- Type: filter
- Location:
classes/class-admin-menu.php:91 - Parameters:
$main_menu_position
Filter the main admin menu position Note: Using longtail decimal string to reduce the chance of position conflicts, see Codex
- Type: filter
- Location:
classes/class-network.php:300 - Parameters:
$network_hidden_optionsβ Network hidden options.
Filter hidden option fields on network settings when network activated.
- Type: filter
- Location:
connectors/class-connector-posts.php:351 - Parameters:
$excluded_post_types
Filter excluded post types for the Posts connector.
- Type: filter
- Location:
classes/class-date-interval.php:65 - Parameters:
$date_intervalsβ Date intervals array.;$timezoneβ Timezone.
Allow other plugins to filter the predefined date intervals.
- Type: filter
- Location:
classes/class-admin.php:153 - Parameters:
$preload_users_maxβ Default cap (50).
Filters the maximum number of users preloaded into a picker. Above this cap the picker switches to Ajax search. Zero forces Ajax.
- Type: filter
- Location:
classes/class-db.php:240 - Parameters:
$argsβ Array of query arguments
Filter allows additional arguments to query $args
- Type: filter
- Location:
classes/class-db.php:221 - Parameters:
$propertiesβ Array of query properties
Filter allows additional query properties to be added
- Type: filter
- Location:
classes/class-list-table.php:844 - Parameters:
$actionsβ Should be in the format of action_slug => 'Action Name'
Filter the records screen actions dropdown menu
- Type: filter
- Location:
classes/class-db.php:54 - Parameters:
$record
Filter allows modification of record information
- Type: filter
- Location:
classes/class-list-table.php:903 - Parameters:
$classes;$item
Filter CSS classes on a Stream list table row.
- Type: action
- Location:
classes/class-db.php:70 - Parameters:
$record;$result
Fires on a record insertion error
- Type: action
- Location:
classes/class-db.php:81 - Parameters:
$record_id;$record
Fires after a record has been inserted
- Type: filter
- Deprecated: via
apply_filters_deprecated - Location:
classes/class-list-table-column-renderer.php:137 - Parameters:
$new_columnsβ Columns injected in the table.
Registers new Columns to be inserted into the table. The cell contents of this column is set below with 'wp_stream_insert_column_default_'
- Type: filter
- Location:
classes/class-ability.php:180 - Parameters:
$keysβ Meta keys to redact.;$alert_metaβ The alert meta being redacted.
Filters the alert_meta keys treated as credentials and withheld from ability output. Third-party alert types registered via wp_stream_alert_types may store their own destination secrets under names Stream cannot know about; add them here so they are redacted too.
- Type: filter
- Location:
connectors/class-connector-settings.php:450 - Parameters:
$labelsβ Serialized labels
Filter allows for insertion of serialized labels
- Type: filter
- Location:
classes/class-admin-screen-settings.php:71 - Parameters:
$form_action
Filter the settings form action URL.
- Type: filter
- Location:
classes/class-admin-screen-settings.php:78 - Parameters:
$page_description
Filter the settings page description.
- Type: filter
- Location:
classes/class-admin-menu.php:121 - Parameters:
$settings_page_title
Filter the Settings admin page title
- Type: filter
- Location:
classes/class-settings-registry.php:160 - Parameters:
$fieldsβ Option fields.
Filter allows for modification of options fields
- Type: filter
- Location:
classes/class-settings.php:131 - Parameters:
$option_key
Filter the settings option key.
- Type: filter
- Location:
classes/class-settings.php:253 - Parameters:
$optionsβ Options.;$option_keyβ Option key.
Filter allows for modification of options
- Type: filter
- Location:
connectors/class-connector-taxonomies.php:269 - Parameters:
$excluded_taxonomies
Filter excluded taxonomies for the Taxonomies connector.
- Type: action
- Location:
classes/class-connector.php:134 - Parameters:
$callbackβ Callback name
Action fires during testing to test the current callback
- Type: filter
- Location:
classes/class-plugin.php:288 - Parameters:
$use_action_schedulerβ Whether to use Action Scheduler.
Filter whether Stream uses Action Scheduler for its deferred work. IMPORTANT β timing: this filter is applied in Plugin::boot(), which runs from the constructor when the Stream plugin file is included, i.e. BEFORE the plugins_loaded action. Callbacks must therefore be registered from code that loads before Stream: an mu-plugin, wp-config.php, or a plugin guaranteed to load earlier. Registering it from a regular plugin's plugins_loaded hook is too late and will be ignored. Defaults to true when the bundled AS library is present. Return a real boolean: the value is cast with (bool), so PHP string truthiness applies to strings (e.g. 'false' is truthy).
- Type: filter
- Location:
connectors/class-connector-woocommerce.php:172 - Parameters:
$context_labels
Filter WooCommerce connector context labels.
- Type: filter
- Location:
connectors/class-connector-woocommerce.php:245 - Parameters:
$custom_settings
Filter WooCommerce custom settings tracked by the connector.
- Type: action
- Location:
includes/feeds/atom.php:29
Action fires during RSS head
- Type: action
- Location:
includes/feeds/atom.php:59
Action fires during Atom item
- Type: action
- Location:
includes/feeds/atom.php:16
- Type: filter
- Location:
connectors/class-connector-edd.php:197
This filter is documented in Easy Digital Downloads.
- Type: filter
- Location:
connectors/class-connector-jetpack.php:163 - Location:
connectors/class-connector-jetpack.php:193
This filter is documented in Jetpack.
- Type: action
- Location:
includes/feeds/rss-2.0.php:43
Action fires during RSS head
- Type: action
- Location:
includes/feeds/rss-2.0.php:70
Action fires during RSS item
- Type: action
- Location:
includes/feeds/rss-2.0.php:27
Action fires during RSS xmls printing
- Type: filter
- Location:
connectors/class-connector-widgets.php:847 - Parameters:
$sidebars_widgetsβ Sidebar Widgets in Options table;$insertedβ Inserted Sidebar Widgets
Filter allows for insertion of sidebar widgets