MainWP Child Reports 2.3.1 has 20 actions and 58 filters, read directly from its source code on Nov 17, 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 MainWP Child Reports fires an action
add_action( 'atom_head', function() {
// Your code runs here.
}, 10, 1 );
// Change a value MainWP Child Reports is about to use
add_filter( 'sidebars_widgets', function( $option ) {
// Change $option here.
return $option;
}, 10, 1 );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
-
atom_head
action/** * Action fires during RSS head */ do_action( 'atom_head' ); -
atom_item
action/** * Action fires during Atom item */ do_action( 'atom_item' ); -
rss2_head
action/** * Action fires during RSS head */ do_action( 'rss2_head' ); -
rss2_item
action/** * Action fires during RSS item */ do_action( 'rss2_item' ); -
rss2_ns
action/** * Action fires during RSS xmls printing */ do_action( 'rss2_ns' ); -
sidebars_widgets
filter/** * Filter allows for insertion of sidebar widgets */ apply_filters( 'sidebars_widgets', get_option( 'sidebars_widgets', array() ) ); -
/** * Allow devs to disable logging values of rendered forms. */ apply_filters( 'wp_mainwp_stream_acf_enable_value_logging', true ); -
/** * Filter allows modification of action links for a specific connector. */ apply_filters( "wp_mainwp_stream_action_links_{$record->connector}", array(), $record ); -
/** * Filter the Stream admin body classes. */ apply_filters( 'wp_mainwp_stream_admin_body_classes', $stream_classes ); -
/** * Filter the main admin page title. */ apply_filters( 'wp_mainwp_stream_admin_page_title', esc_html__( 'Reports Records', 'mainwp-child-reports' ) ); -
/** * Fires after all connectors have been registered. */ do_action( 'wp_mainwp_stream_after_connectors_registration', $labels, $this ); -
/** * Fires after the list table is displayed. */ do_action( 'wp_mainwp_stream_after_list_table' ); -
wp_mainwp_stream_agent_label
filter/** * Filter agent labels */ apply_filters( 'wp_mainwp_stream_agent_label', $label, $agent ); -
wp_mainwp_stream_auto_purge
action/** * Action assists in purging when TTL is shortened */ do_action( 'wp_mainwp_stream_auto_purge' ); -
/** * Fires before admin notices are triggered for missing database tables. */ do_action( 'wp_mainwp_stream_before_db_notices' ); -
/** * The maximum number of items that can be updated in bulk without receiving a * warning. */ apply_filters( 'wp_mainwp_stream_bulk_actions_threshold', 100 ); -
/** * Allows excluded connectors to be overridden and registered. */ apply_filters( 'wp_mainwp_stream_check_connector_is_excluded', $is_excluded, $connector_name, $excluded_connectors ); -
wp_mainwp_stream_connectors
filter/** * Allows for adding additional connectors via classes that extend Connector. */ apply_filters( 'wp_mainwp_stream_connectors', $classes ); -
/** * Filter the current agent string */ apply_filters( 'wp_mainwp_stream_current_agent', $agent ); -
/** * Filter allows addition of custom links for a specific connector. */ apply_filters( "wp_mainwp_stream_custom_action_links_{$record->connector}", array(), $record ); -
wp_mainwp_stream_db_query
filter/** * Filter allows the final query to be modified before execution */ apply_filters( 'wp_mainwp_stream_db_query', $query, $args ); -
/** * Filter to alter the DB update versions array */ apply_filters( 'wp_mainwp_stream_db_update_versions', $db_update_versions ); -
/** * Filter available contexts for the Editor connector */ apply_filters( 'wp_mainwp_stream_editor_context', $context, $location ); -
/** * Filter available context labels for the Editor connector */ apply_filters( 'wp_mainwp_stream_editor_context_labels', array( 'themes' => esc_html__( 'Themes', 'mainwp-child-reports' ), 'plugins' => esc_html__( 'Plugins', 'mainwp-child-reports' ), ) ); -
wp_mainwp_stream_exporters
filter/** * Allows for adding additional exporters via classes that extend Exporter. */ apply_filters( 'wp_mainwp_stream_exporters', $classes ); -
/** * Allows for the addition of content under a specified column. */ apply_filters( "wp_mainwp_stream_insert_column_default_{$column_title}", $column_name, $record ); -
/** * Filters whether or not a record should be excluded from the log. */ apply_filters( 'wp_mainwp_stream_is_record_excluded', $exclude_record, $record ); -
/** * 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. */ apply_filters( 'wp_mainwp_stream_list_table_filters', $filters ); -
wp_mainwp_stream_no_tables
filter/** * Filter will halt install() if set to true */ apply_filters( 'wp_mainwp_stream_no_tables', false ); -
wp_mainwp_stream_query_args
filter/** * Filter allows additional arguments to query $args */ apply_filters( 'wp_mainwp_stream_query_args', $args ); -
/** * Filter allows additional query properties to be added */ apply_filters( 'wp_mainwp_stream_query_properties', $properties ); -
/** * Filter allows modification of record information */ apply_filters( 'wp_mainwp_stream_record_array', $record ); -
/** * Fires on a record insertion error */ do_action( 'wp_mainwp_stream_record_insert_error', $record, false ); -
/** * Fires after a record has been inserted */ do_action( 'wp_mainwp_stream_record_inserted', $record_id, $record ); -
/** * Filter allows for insertion of serialized labels. */ apply_filters( 'wp_mainwp_stream_serialized_labels', $labels ); -
/** * Filter the Settings admin page title. */ apply_filters( 'wp_mainwp_stream_settings_form_title', esc_html__( 'Reports Settings', 'mainwp-child-reports' ) ); -
/** * Filter allows for modification of options fields */ apply_filters( 'wp_mainwp_stream_settings_option_fields', $fields ); -
/** * Filter allows for modification of options */ apply_filters( 'wp_mainwp_stream_settings_options', wp_parse_args( is_network_admin() ? (array) get_site_option( $option_key, array() ) : (array) get_option( $option_key, array() ), $defaults ), $option_key ); -
/** * Action fires during testing to test the current callback */ do_action( "wp_mainwp_stream_test_{$callback[1]}" ); -
apply_filters( "jetpack_module_configurable_{$slug}", false ); -
mainwp-child-pageheader
actiondo_action( 'mainwp-child-pageheader', 'reports-page' ); -
wp_mainwp_stream_db_driver
filterapply_filters( 'wp_mainwp_stream_db_driver', '\WP_MainWP_Stream\DB_Driver_WPDB' ); -
atom_ns
actiondo_action( 'atom_ns' ); -
edd_api_log_requests
filterapply_filters( 'edd_api_log_requests', true ); -
mainwp_child_log
actiondo_action( 'mainwp_child_log', $ext_name ); -
apply_filters( 'mainwp_stream_records_per_page', $args['records_per_page'] ); -
apply_filters( 'mainwp_wp_stream_settings_form_action', admin_url( 'options.php' ) ); -
updraftplus_backup
actiondo_action( 'updraftplus_backup', $destination, $message, __( 'Finished', 'mainwp-child-reports' ), $backup_type, $backup_time ); -
do_action( 'wp_mainwp_child_reposts_recreate_tables_if_not_exist' ); -
apply_filters( 'wp_mainwp_stream_action_link_url', $url, $record ); -
apply_filters( 'wp_mainwp_stream_blog_id_logged', get_current_blog_id() ); -
apply_filters( 'wp_mainwp_stream_comments_comment_type_labels', array( 'comment' => esc_html__( 'Comment', 'mainwp-child-reports' ), 'trackback' => esc_html__( 'Trackback', 'mainwp-child-reports' ), 'pingback' => esc_html__( 'Pingback', 'mainwp-child-reports' ), ) ); -
apply_filters( 'wp_mainwp_stream_comments_exclude_comment_types', array() ); -
apply_filters( 'wp_mainwp_stream_db_tables_prefix', $wpdb->base_prefix ); -
apply_filters( 'wp_mainwp_stream_form_render_field', $output, $field_type, $args ); -
apply_filters( 'wp_mainwp_stream_list_table_columns', array( 'date' => __( 'Date', 'mainwp-child-reports' ), 'summary' => __( 'Summary', 'mainwp-child-reports' ), 'user_id' => __( 'User', 'mainwp-child-reports' ), 'context' => __( 'Context', 'mainwp-child-reports' ), 'action' => __( 'Action', 'mainwp-child-reports' ), 'ip' => __( 'IP Address', 'mainwp-child-reports' ), ) ); -
apply_filters( 'wp_mainwp_stream_list_table_screen_id', $screen_id ); -
wp_mainwp_stream_log_data
filterapply_filters( 'wp_mainwp_stream_log_data', compact( 'connector', 'message', 'args', 'object_id', 'context', 'action', 'user_id', 'forced_log' ) ); -
wp_mainwp_stream_log_handler
filterapply_filters( 'wp_mainwp_stream_log_handler', new Log( $this ) ); -
apply_filters( 'wp_mainwp_stream_network_option_fields', array( 'general' => array( 'role_access', ), 'exclude' => array( 'authors', 'roles', 'connectors', 'contexts', 'actions', 'ip_addresses', 'hide_previous_records', ), ) ); -
apply_filters( 'wp_mainwp_stream_posts_allow_post_types', array( 'page', 'post', 'shop_order', ) ); -
apply_filters( 'wp_mainwp_stream_posts_exclude_post_types', array( 'nav_menu_item', 'attachment', 'revision', 'seopress_404', 'seopress_bot', 'seopress_schemas', ) ); -
apply_filters( 'wp_mainwp_stream_predefined_date_intervals', array( 'today' => array( 'label' => esc_html__( 'Today', 'mainwp-child-reports' ), 'start' => Carbon::today( $timezone )->startOfDay(), 'end' => Carbon::today( $timezone )->endOfDay(), ), 'yesterday' => array( 'label' => esc_html__( 'Yesterday', 'mainwp-child-reports' ), 'start' => Carbon::today( $timezone )->startOfDay()->subDay(), 'end' => Carbon::today( $timezone )->startOfDay()->subSecond()... ); -
apply_filters( 'wp_mainwp_stream_record_classes', array(), $item ); -
apply_filters( 'wp_mainwp_stream_register_column_defaults', $new_columns ); -
apply_filters( 'wp_mainwp_stream_settings_form_action', admin_url( 'options.php' ) ); -
apply_filters( 'wp_mainwp_stream_settings_form_description', '' ); -
apply_filters( 'wp_mainwp_stream_settings_option_key', $option_key ); -
apply_filters( 'wp_mainwp_stream_taxonomies_exclude_taxonomies', array( 'nav_menu', ) ); -
apply_filters( 'wp_mainwp_stream_woocommerce_contexts', $context_labels ); -
apply_filters( 'wp_mainwp_stream_woocommerce_custom_settings', $custom_settings );
Generated from MainWP Child Reports's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: