CodingBunny Database Cleaner 1.5.4 has 2 actions and 287 filters, read directly from its source code on Nov 18, 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 CodingBunny Database Cleaner fires an action
add_action( 'cbdc_auto_clean_after_run', function( $type, $deleted ) {
// Your code runs here.
}, 10, 2 );
// Change a value CodingBunny Database Cleaner is about to use
add_filter( 'cbdc_multisite_max_sites', function( $value ) {
// Change $value here.
return $value;
}, 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
-
apply_filters( 'cbdc_multisite_max_sites', CBDC_MULTISITE_MAX_SITES ); -
apply_filters( 'cbdc_cache_bucket_gc_enabled', true, $namespace ); -
apply_filters( 'cbdc_cache_bucket_gc_interval', self::GC_INTERVAL, $namespace ); -
apply_filters( 'cbdc_cache_bucket_max_bytes', self::MAX_BYTES, $namespace ); -
apply_filters( 'cbdc_cache_bucket_max_entries', self::MAX_ENTRIES, $namespace ); -
apply_filters( 'cbdc_oe_max_ids_per_operation', CBDC_OE_MAX_IDS_PER_OPERATION ); -
apply_filters( 'cbdc_max_tables_per_operation', CBDC_MAX_TABLES_PER_OPERATION ); -
apply_filters( 'cbdc_posts_excluded_post_types', [] ); -
apply_filters( 'cbdc_pt_max_deletes_per_operation', CBDC_PT_MAX_DELETES_PER_OPERATION ); -
apply_filters( 'cbdc_tables_batch_delay', CBDC_TABLES_BATCH_DELAY ); -
apply_filters( 'cbdc_tables_batch_size', CBDC_TABLES_BATCH_SIZE ); -
apply_filters( 'cbdc_as_max_ids_per_operation', CBDC_AS_MAX_IDS_PER_OPERATION ); -
apply_filters( 'cbdc_oe_lookup_chunk', CBDC_OE_LOOKUP_CHUNK ); -
apply_filters( 'cbdc_as_log_batch_delay', CBDC_AS_LOG_BATCH_DELAY ); -
apply_filters( 'cbdc_as_log_delete_batch', CBDC_AS_LOG_DELETE_BATCH ); -
apply_filters( 'cbdc_auto_clean_run_custom', 0, $type ); -
apply_filters( 'cbdc_commentmeta_max_ids_per_operation', CBDC_COMMENTMETA_MAX_IDS_PER_OPERATION ); -
apply_filters( 'cbdc_comments_batch_delay', CBDC_COMMENTS_BATCH_DELAY ); -
apply_filters( 'cbdc_comments_delete_batch', CBDC_COMMENTS_DELETE_BATCH ); -
apply_filters( 'cbdc_comments_excluded_types', [] ); -
apply_filters( 'cbdc_comments_max_deletes_per_operation', CBDC_COMMENTS_MAX_DELETES_PER_OPERATION ); -
apply_filters( 'cbdc_insight_cache_enabled', true, $tab ); -
apply_filters( 'cbdc_oe_batch_delay', CBDC_OE_BATCH_DELAY ); -
apply_filters( 'cbdc_oe_delete_batch', CBDC_OE_DELETE_BATCH ); -
apply_filters( 'cbdc_pf_remote_cache_ttl', CBDC_PF_REMOTE_TTL, $scope ); -
apply_filters( 'cbdc_pm_max_ids_per_operation', CBDC_PM_MAX_IDS_PER_OPERATION ); -
apply_filters( 'cbdc_posts_batch_delay', CBDC_POSTS_BATCH_DELAY ); -
apply_filters( 'cbdc_posts_delete_batch', CBDC_POSTS_DELETE_BATCH ); -
apply_filters( 'cbdc_posts_max_deletes_per_operation', CBDC_POSTS_MAX_DELETES_PER_OPERATION ); -
apply_filters( 'cbdc_preview_is_sensitive_key', true, $key ); -
apply_filters( 'cbdc_rel_max_ids_per_operation', CBDC_REL_MAX_IDS_PER_OPERATION ); -
apply_filters( 'cbdc_term_relationships_registered_taxonomies', null, (int) $site_id ); -
apply_filters( 'cbdc_tm_max_ids_per_operation', CBDC_TM_MAX_IDS_PER_OPERATION ); -
apply_filters( 'cbdc_tr_delete_batch', CBDC_TR_DELETE_BATCH ); -
apply_filters( 'cbdc_usermeta_max_ids_per_operation', CBDC_USERMETA_MAX_IDS_PER_OPERATION ); -
apply_filters( 'cbdc_usermeta_orphan_id_limit', CBDC_USERMETA_ORPHAN_ID_LIMIT ); -
apply_filters( 'cbdc_acf_internal_post_types', [ 'acf-field-group' => 'field group', 'acf-field' => 'field', 'acf-post-type' => 'post type', 'acf-taxonomy' => 'taxonomy', 'acf-ui-options-page' => 'options page', ] ); -
apply_filters( 'cbdc_acf_label', cbdc_acf_label_from_names($names) ); -
apply_filters( 'cbdc_acf_map_limit', CBDC_ACF_MAP_LIMIT ); -
apply_filters( 'cbdc_acf_plugin_names', $names ); -
apply_filters( 'cbdc_acf_reference_sources', [ 'postmeta' => ['table' => $wpdb->postmeta, 'key' => 'meta_key', 'value' => 'meta_value'], 'usermeta' => ['table' => $wpdb->usermeta, 'key' => 'meta_key', 'value' => 'meta_value'], 'termmeta' => ['table' => $wpdb->termmeta, 'key' => 'meta_key', 'value' => 'meta_value'], 'commentmeta' => ['table' => $wpdb->commentmeta, 'key' => 'meta_key', 'value' => 'meta_value'], 'option' => ['table' => $wpdb... ); -
apply_filters( 'cbdc_acf_type_source_map', [ 'postmeta' => 'postmeta', 'usermeta' => 'usermeta', 'termmeta' => 'termmeta', 'commentmeta' => 'commentmeta', 'option' => 'option', 'transient' => 'option', ] ); -
apply_filters( 'cbdc_allowed_engines', $allowed, $engine, $overhead, $size_bytes ); -
apply_filters( 'cbdc_analyze_tables_interval', CBDC_ANALYZE_DEFAULT_INTERVAL ); -
apply_filters( 'cbdc_analyze_tables_max', 50 ); -
apply_filters( 'cbdc_as_batch_delay', CBDC_AS_BATCH_DELAY ); -
apply_filters( 'cbdc_as_cache_max_bytes', CBDC_AS_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_as_delete_batch', CBDC_AS_DELETE_BATCH ); -
apply_filters( 'cbdc_as_hooks_chunk', CBDC_AS_HOOKS_CHUNK ); -
apply_filters( 'cbdc_as_log_cache_max_bytes', CBDC_AS_LOG_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_as_log_lookup_chunk', CBDC_AS_LOG_LOOKUP_CHUNK ); -
apply_filters( 'cbdc_as_log_max_ids_per_operation', CBDC_AS_LOG_MAX_IDS_PER_OP ); -
apply_filters( 'cbdc_as_log_message_preview', CBDC_AS_LOG_MESSAGE_PREVIEW ); -
apply_filters( 'cbdc_as_log_per_page', CBDC_AS_LOG_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_as_log_validate_ids', true ); -
apply_filters( 'cbdc_as_max_distinct_hooks', CBDC_AS_MAX_DISTINCT_HOOKS ); -
apply_filters( 'cbdc_as_max_hooks_in_query', CBDC_AS_MAX_HOOKS_IN_QUERY ); -
apply_filters( 'cbdc_as_per_page', CBDC_AS_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_as_protected_statuses', ['in-progress'] ); -
do_action( 'cbdc_auto_clean_after_run', $type, $deleted ); -
apply_filters( 'cbdc_auto_clean_batch', CBDC_AUTO_CLEAN_BATCH, $type ); -
do_action( 'cbdc_auto_clean_before_run', $type ); -
apply_filters( 'cbdc_auto_clean_deleted_count', $deleted, $type ); -
apply_filters( 'cbdc_auto_clean_lock_ttl', CBDC_AUTO_CLEAN_LOCK_TTL, $type ); -
apply_filters( 'cbdc_auto_clean_max_per_run', CBDC_AUTO_CLEAN_MAX_PER_RUN, $type ); -
apply_filters( 'cbdc_auto_clean_supported_types', array_merge([ 'postmeta', 'usermeta', 'termmeta', 'commentmeta', 'term-relationships', 'action-scheduler-complete', 'action-scheduler-failed', 'action-scheduler-canceled', 'action-scheduler-logs-completed', 'action-scheduler-logs-failed', 'action-scheduler-logs-canceled', 'posts', 'post-revisions', 'post-autodrafts', 'post-trashed', 'comments', 'comments-unapproved', 'comments-spam', 'comments-... ); -
apply_filters( 'cbdc_cache_bucket_namespaces', $namespaces ); -
apply_filters( 'cbdc_check_tables_quick', true ); -
apply_filters( 'cbdc_cleanup_summary_ttl', CBDC_SUMMARY_TTL ); -
apply_filters( 'cbdc_comment_is_deletable', true, $row ); -
apply_filters( 'cbdc_commentmeta_batch_delay', CBDC_COMMENTMETA_BATCH_DELAY ); -
apply_filters( 'cbdc_commentmeta_cache_max_bytes', CBDC_COMMENTMETA_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_commentmeta_delete_batch', CBDC_COMMENTMETA_DELETE_BATCH ); -
apply_filters( 'cbdc_commentmeta_max_keys_in_query', CBDC_COMMENTMETA_MAX_KEYS_IN_QUERY ); -
apply_filters( 'cbdc_commentmeta_max_rows', CBDC_COMMENTMETA_MAX_IDS_PER_OPERATION ); -
apply_filters( 'cbdc_commentmeta_orphan_id_limit', CBDC_COMMENTMETA_ORPHAN_ID_LIMIT ); -
apply_filters( 'cbdc_commentmeta_per_page', CBDC_COMMENTMETA_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_commentmeta_reserved_origins', ['core', 'wordpress', 'wordpress core'] ); -
apply_filters( 'cbdc_comments_bytes_cache_ttl', CBDC_COMMENTS_BYTES_CACHE_TTL, $site_id ); -
apply_filters( 'cbdc_comments_cache_max_bytes', CBDC_COMMENTS_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_comments_compute_bytes', true, $site_id ); -
apply_filters( 'cbdc_comments_excluded_post_types', (array) apply_filters('cbdc_posts_excluded_post_types', []) ); -
apply_filters( 'cbdc_comments_lookup_chunk', CBDC_COMMENTS_LOOKUP_CHUNK ); -
apply_filters( 'cbdc_comments_max_rows', CBDC_COMMENTS_MAX_ROWS ); -
apply_filters( 'cbdc_comments_per_page', CBDC_COMMENTS_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_comments_validate_ids', true ); -
apply_filters( 'cbdc_core_table_suffixes', [ 'commentmeta', 'comments', 'links', 'options', 'postmeta', 'posts', 'term_relationships', 'term_taxonomy', 'termmeta', 'terms', 'usermeta', 'users', 'blogs', 'blogmeta', 'blog_versions', 'registration_log', 'signups', 'site', 'sitecategories', 'sitemeta', ] ); -
apply_filters( 'cbdc_cron_batch_delay', CBDC_CRON_BATCH_DELAY ); -
apply_filters( 'cbdc_cron_cache_max_bytes', CBDC_CRON_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_cron_max_deletes_per_operation', CBDC_CRON_MAX_DELETES_PER_OPERATION ); -
apply_filters( 'cbdc_cron_per_page', CBDC_CRON_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_data_cache_flushers', [ 'cbdc_flush_tables_cache', 'cbdc_flush_options_cache', 'cbdc_flush_transients_cache', 'cbdc_flush_postmeta_cache', 'cbdc_flush_usermeta_cache', 'cbdc_flush_termmeta_cache', 'cbdc_flush_commentmeta_cache', 'cbdc_flush_cron_cache', 'cbdc_flush_as_cache', 'cbdc_flush_as_log_cache', 'cbdc_flush_posttypes_cache', 'cbdc_flush_posts_cache', 'cbdc_flush_comments_cache', 'cbdc_flush_term_relationships... ); -
apply_filters( 'cbdc_db_info_ttl', CBDC_DBINFO_TTL ); -
apply_filters( 'cbdc_db_operation_timeout', CBDC_DB_OPERATION_TIMEOUT_SECONDS ); -
apply_filters( 'cbdc_enhanced_cleanup_time_budget', CBDC_ENHANCED_TIME_BUDGET ); -
apply_filters( 'cbdc_full_cleanup_summary', $tabs ); -
apply_filters( 'cbdc_innodb_optimize_min_overhead', CBDC_INNODB_OPTIMIZE_MIN_OVERHEAD, $engine, $overhead, $size_bytes ); -
apply_filters( 'cbdc_innodb_optimize_ratio', CBDC_INNODB_OPTIMIZE_RATIO, $engine, $overhead, $size_bytes ); -
apply_filters( 'cbdc_insight_cache_ttl', CBDC_INSIGHT_TTL, $tab ); -
apply_filters( 'cbdc_insight_time_window', MINUTE_IN_SECONDS ); -
apply_filters( 'cbdc_insight_top_offender_enabled', true, $table_key ); -
apply_filters( 'cbdc_insight_top_offender_max_rows', CBDC_INSIGHT_OFFENDER_MAX_ROWS, $table_key ); -
apply_filters( 'cbdc_is_protected_commentmeta_key', false, $meta_key ); -
apply_filters( 'cbdc_is_protected_cron_hook', false, $hook ); -
apply_filters( 'cbdc_is_protected_option', false, $name, $site_id ); -
apply_filters( 'cbdc_is_protected_post_type', false, $slug ); -
apply_filters( 'cbdc_is_protected_postmeta_key', false, $meta_key ); -
apply_filters( 'cbdc_is_protected_table', cbdc_is_network_table($table_name) || cbdc_is_core_table($table_name), $table_name ); -
apply_filters( 'cbdc_is_protected_termmeta_key', false, $meta_key ); -
apply_filters( 'cbdc_is_protected_usermeta_key', false, $meta_key ); -
apply_filters( 'cbdc_is_table_optimizable', $is_opt, $engine, $overhead, $size_bytes, $ratio, $min_overhead ); -
apply_filters( 'cbdc_is_table_optimizable_innodb', $is_opt, $engine, $overhead, $size_bytes, $ratio, $min_overhead ); -
apply_filters( 'cbdc_is_table_optimizable_innodb_file_per_table_disabled', false, $engine, $overhead, $size_bytes ); -
apply_filters( 'cbdc_is_table_optimizable_myisam', $is_opt, $engine, $overhead, $size_bytes ); -
apply_filters( 'cbdc_jet_definition_tables', [ 'post_type' => 'jet_post_types', 'taxonomy' => 'jet_taxonomies', 'meta_box' => 'jet_meta_boxes', ] ); -
apply_filters( 'cbdc_jet_field_object_types', [ 'postmeta' => ['post', ''], 'usermeta' => ['user', ''], 'termmeta' => ['tax', 'term', ''], 'commentmeta' => ['comment', ''], 'option' => ['option', ''], ] ); -
apply_filters( 'cbdc_jet_known_object_types', ['post', 'user', 'tax', 'term', 'comment', 'option'] ); -
apply_filters( 'cbdc_jet_label', 'JetEngine' ); -
apply_filters( 'cbdc_jet_map_limit', CBDC_JET_MAP_LIMIT ); -
apply_filters( 'cbdc_jet_table_default_object_type', [ 'post_type' => 'post', 'taxonomy' => 'tax', 'meta_box' => '', ] ); -
apply_filters( 'cbdc_jet_table_keywords', [ 'post_type' => ['post_type'], 'taxonomy' => ['taxonom'], 'meta_box' => ['meta_box', 'metabox'], ] ); -
apply_filters( 'cbdc_legacy_transient_prefixes', [ 'cbdc_plugins_info_' => [], 'cbdc_origin_memo_' => [], 'cbdc_pf_' => ['cbdc_pf_remote'], ] ); -
apply_filters( 'cbdc_legacy_transients_gc_interval', CBDC_LEGACY_TRANSIENTS_GC_INTERVAL ); -
apply_filters( 'cbdc_max_options_per_operation', CBDC_MAX_OPTIONS_PER_OPERATION ); -
apply_filters( 'cbdc_network_tables', $network_tables ); -
apply_filters( 'cbdc_notice_autodismiss_ms', 'autoload_updated' === $notice ? 2000 : 0, $notice ); -
apply_filters( 'cbdc_object_registry_max', 500 ); -
apply_filters( 'cbdc_object_registry_option', 'cbdc_object_registry' ); -
apply_filters( 'cbdc_oe_cache_max_bytes', CBDC_OE_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_oe_max_rows', CBDC_OE_MAX_ROWS ); -
apply_filters( 'cbdc_oe_per_page', CBDC_OE_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_oe_validate_ids', true ); -
apply_filters( 'cbdc_oembed_delete_pairs', true ); -
apply_filters( 'cbdc_oembed_ttl', DAY_IN_SECONDS ); -
apply_filters( 'cbdc_optimize_min_overhead', CBDC_OPTIMIZE_MIN_OVERHEAD, $engine, $overhead, $size_bytes ); -
apply_filters( 'cbdc_optimize_ratio', CBDC_OPTIMIZE_RATIO, $engine, $overhead, $size_bytes ); -
apply_filters( 'cbdc_option_name_regex', CBDC_OPTION_NAME_REGEX ); -
apply_filters( 'cbdc_options_batch_delay', CBDC_OPTIONS_BATCH_DELAY ); -
apply_filters( 'cbdc_options_batch_size', CBDC_OPTIONS_BATCH_SIZE ); -
apply_filters( 'cbdc_options_cache_max_bytes', CBDC_OPTIONS_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_options_per_page', CBDC_OPTIONS_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_origin_memo_max', CBDC_ORIGIN_MEMO_MAX ); -
apply_filters( 'cbdc_origin_memo_ttl', CBDC_ORIGIN_MEMO_TTL ); -
apply_filters( 'cbdc_pattern_files_to_skip', ['deletable.php'] ); -
apply_filters( 'cbdc_pf_files_per_target', CBDC_PF_FILES_PER_TARGET ); -
apply_filters( 'cbdc_pf_http_timeout', CBDC_PF_HTTP_TIMEOUT ); -
apply_filters( 'cbdc_pf_max_file_bytes', CBDC_PF_MAX_FILE_BYTES ); -
apply_filters( 'cbdc_pf_remote_cache_max', CBDC_PF_REMOTE_MAX ); -
apply_filters( 'cbdc_pf_remote_privacy_url', CBDC_PF_REMOTE_PRIVACY_URL ); -
apply_filters( 'cbdc_pf_remote_search_available', true ); -
apply_filters( 'cbdc_pf_remote_search_enabled', $enabled ); -
apply_filters( 'cbdc_pf_remote_search_url', CBDC_PF_REMOTE_SEARCH_URL ); -
apply_filters( 'cbdc_pf_remote_service_name', CBDC_PF_REMOTE_SERVICE_NAME ); -
apply_filters( 'cbdc_pf_remote_terms_url', CBDC_PF_REMOTE_TERMS_URL ); -
apply_filters( 'cbdc_pf_scan_budget', $budget ); -
apply_filters( 'cbdc_pf_skip_dirs', ['vendor', 'node_modules', '.git', 'tests', 'test', 'languages', 'dist', 'build', 'assets', 'vendor_prefixed'] ); -
apply_filters( 'cbdc_pf_wporg_search_enabled', true ); -
apply_filters( 'cbdc_pm_batch_delay', CBDC_PM_BATCH_DELAY ); -
apply_filters( 'cbdc_pm_cache_max_bytes', CBDC_PM_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_pm_delete_batch', CBDC_PM_DELETE_BATCH ); -
apply_filters( 'cbdc_pm_max_keys_in_query', CBDC_PM_MAX_KEYS_IN_QUERY ); -
apply_filters( 'cbdc_pm_orphan_id_limit', CBDC_PM_ORPHAN_ID_LIMIT ); -
apply_filters( 'cbdc_pm_per_page', CBDC_PM_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_postmeta_orphan_exclusion_sql', '' ); -
apply_filters( 'cbdc_posts_bytes_cache_ttl', CBDC_POSTS_BYTES_CACHE_TTL, $site_id ); -
apply_filters( 'cbdc_posts_cache_max_bytes', CBDC_POSTS_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_posts_compute_bytes', true, $site_id ); -
apply_filters( 'cbdc_posts_lookup_chunk', CBDC_POSTS_LOOKUP_CHUNK ); -
apply_filters( 'cbdc_posts_max_rows', CBDC_POSTS_MAX_ROWS ); -
apply_filters( 'cbdc_posts_per_page', CBDC_POSTS_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_posttypes_registered_slugs', null, $site_id ); -
apply_filters( 'cbdc_preview_mask_sensitive', true ); -
apply_filters( 'cbdc_preview_max_bytes', CBDC_PREVIEW_MAX_BYTES ); -
apply_filters( 'cbdc_preview_resolve_value', false, $entity, $key, $id ); -
apply_filters( 'cbdc_preview_sensitive_patterns', $defaults ); -
apply_filters( 'cbdc_protected_comment_ids', [] ); -
apply_filters( 'cbdc_protected_commentmeta_keys', $defaults ); -
apply_filters( 'cbdc_protected_commentmeta_prefixes', ['cbdc_'] ); -
apply_filters( 'cbdc_protected_cron_hooks', $defaults ); -
apply_filters( 'cbdc_protected_cron_prefixes', ['cbdc_'] ); -
apply_filters( 'cbdc_protected_option_names', $core, $site_id ); -
apply_filters( 'cbdc_protected_option_prefixes', ['theme_mods_', 'widget_', '_transient_', '_site_transient_'] ); -
apply_filters( 'cbdc_protected_post_types', $defaults ); -
apply_filters( 'cbdc_protected_postmeta_keys', [ '_edit_lock', '_edit_last', '_wp_page_template', '_thumbnail_id', '_wp_attached_file', '_wp_attachment_metadata', '_wp_attachment_backup_sizes', '_wp_attachment_image_alt', '_wp_attachment_context', '_wp_attachment_is_custom_background', '_wp_attachment_is_custom_header', '_wp_old_slug', '_wp_old_date', '_wp_desired_post_slug', '_wp_trash_meta_status', '_wp_trash_meta_time', '_wp_trash_meta_c... ); -
apply_filters( 'cbdc_protected_postmeta_prefixes', ['_menu_item_', '_wp_attachment'] ); -
apply_filters( 'cbdc_protected_termmeta_keys', [] ); -
apply_filters( 'cbdc_protected_usermeta_keys', [ 'capabilities', 'user_level', 'user-settings', 'user-settings-time', 'session_tokens', 'nickname', 'first_name', 'last_name', 'description', 'rich_editing', 'syntax_highlighting', 'comment_shortcuts', 'admin_color', 'use_ssl', 'show_admin_bar_front', 'locale', 'dismissed_wp_pointers', 'default_password_nag', 'primary_blog', 'source_domain', 'dashboard_quick_press_last_post_id', 'show_welcome_... ); -
apply_filters( 'cbdc_pt_batch_delay', CBDC_PT_BATCH_DELAY ); -
apply_filters( 'cbdc_pt_cache_max_bytes', CBDC_PT_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_pt_delete_batch', $batch_size ?: CBDC_PT_DELETE_BATCH ); -
apply_filters( 'cbdc_pt_per_page', CBDC_PT_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_rel_batch_delay', CBDC_REL_BATCH_DELAY ); -
apply_filters( 'cbdc_rel_cache_max_bytes', CBDC_REL_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_rel_delete_batch', CBDC_REL_DELETE_BATCH ); -
apply_filters( 'cbdc_rel_max_tax_in_query', CBDC_REL_MAX_TAX_IN_QUERY ); -
apply_filters( 'cbdc_rel_orphan_pair_limit', CBDC_REL_ORPHAN_PAIR_LIMIT ); -
apply_filters( 'cbdc_rel_per_page', CBDC_REL_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_rel_tax_chunk', CBDC_REL_TAX_CHUNK ); -
apply_filters( 'cbdc_repairable_engines', $allowed, $engine ); -
apply_filters( 'cbdc_report_daily_limit', CBDC_REPORT_DAILY_LIMIT ); -
apply_filters( 'cbdc_report_recipient', CBDC_REPORT_EMAIL ); -
apply_filters( 'cbdc_report_throttle_seconds', CBDC_REPORT_THROTTLE ); -
apply_filters( 'cbdc_run_analyze_after_flush', true ); -
apply_filters( 'cbdc_site_prefix_map_limit', 0 ); -
apply_filters( 'cbdc_softaculous_author_markers', ['softaculous', 'softwp', 'loginizer', 'backuply'] ); -
apply_filters( 'cbdc_sponsor_url', 'https://github.com/sponsors/CodingBunnyDev' ); -
apply_filters( 'cbdc_table_name_suffix_regex', CBDC_TABLE_NAME_SUFFIX_REGEX ); -
apply_filters( 'cbdc_tables_async_chunk', CBDC_TABLES_BATCH_SIZE ); -
apply_filters( 'cbdc_tables_async_threshold', CBDC_TABLES_ASYNC_THRESHOLD ); -
apply_filters( 'cbdc_tables_cache_max_bytes', CBDC_TABLES_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_tables_defer_operations', true, $tables ); -
apply_filters( 'cbdc_tables_integrity_max_bytes', CBDC_TABLES_INTEGRITY_MAX_BYTES ); -
apply_filters( 'cbdc_tables_integrity_max_tables', CBDC_TABLES_INTEGRITY_MAX_TABLES ); -
apply_filters( 'cbdc_tables_integrity_ttl', CBDC_TABLES_INTEGRITY_TTL ); -
apply_filters( 'cbdc_tables_meta_chunk', CBDC_TABLES_META_CHUNK ); -
apply_filters( 'cbdc_tables_optimize_ui_strict', true ); -
apply_filters( 'cbdc_tables_per_page', CBDC_TABLES_PER_PAGE ); -
apply_filters( 'cbdc_tables_restrict_to_prefix', false ); -
apply_filters( 'cbdc_tables_site_filter_max', CBDC_TABLES_SITE_FILTER_MAX ); -
apply_filters( 'cbdc_term_relationships_excluded_taxonomies', [] ); -
apply_filters( 'cbdc_term_relationships_excluded_taxonomy_prefixes', [] ); -
apply_filters( 'cbdc_theme_mods_option_is_protected', $protected, $name, $slug, (int) $site_id ); -
apply_filters( 'cbdc_time_sensitive_insight_tabs', ['transients', 'oembed', 'wc-customers'] ); -
apply_filters( 'cbdc_time_sensitive_summary_tabs', $tabs ); -
apply_filters( 'cbdc_tm_batch_delay', CBDC_TM_BATCH_DELAY ); -
apply_filters( 'cbdc_tm_cache_max_bytes', CBDC_TM_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_tm_delete_batch', CBDC_TM_DELETE_BATCH ); -
apply_filters( 'cbdc_tm_max_keys_in_query', CBDC_TM_MAX_KEYS_IN_QUERY ); -
apply_filters( 'cbdc_tm_orphan_id_limit', CBDC_TM_ORPHAN_ID_LIMIT ); -
apply_filters( 'cbdc_tm_per_page', CBDC_TM_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_tr_cache_max_bytes', CBDC_TR_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_tr_max_deletes_per_operation', CBDC_TR_MAX_DELETES_PER_OPERATION ); -
apply_filters( 'cbdc_tr_max_items_per_operation', CBDC_TR_MAX_DELETES_PER_OPERATION ); -
apply_filters( 'cbdc_tr_per_page', CBDC_TR_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_transients_excluded_prefixes', [] ); -
apply_filters( 'cbdc_trm_can_read_table', true, $table_name ); -
apply_filters( 'cbdc_trm_mask_sensitive', true ); -
apply_filters( 'cbdc_trm_masked_columns', $defaults ); -
apply_filters( 'cbdc_trm_max_cell_bytes', CBDC_TRM_MAX_CELL_BYTES ); -
apply_filters( 'cbdc_trm_per_page', CBDC_TRM_PER_PAGE ); -
apply_filters( 'cbdc_usermeta_batch_delay', CBDC_USERMETA_BATCH_DELAY ); -
apply_filters( 'cbdc_usermeta_cache_max_bytes', CBDC_USERMETA_CACHE_MAX_BYTES, $suffix ); -
apply_filters( 'cbdc_usermeta_delete_batch', CBDC_USERMETA_DELETE_BATCH ); -
apply_filters( 'cbdc_usermeta_max_keys_in_query', CBDC_USERMETA_MAX_KEYS_IN_QUERY ); -
apply_filters( 'cbdc_usermeta_orphan_exclusion_sql', '' ); -
apply_filters( 'cbdc_usermeta_per_page', CBDC_USERMETA_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_wc_active', $detected ); -
apply_filters( 'cbdc_wc_batch_budget', CBDC_WC_BATCH_BUDGET ); -
apply_filters( 'cbdc_wc_installed', $found ); -
apply_filters( 'cbdc_wc_max_deletes_per_operation', CBDC_WC_MAX_DELETES_PER_OPERATION ); -
apply_filters( 'cbdc_wc_min_order_age_days', CBDC_WC_MIN_ORDER_AGE_DAYS ); -
apply_filters( 'cbdc_wc_post_types', ['product', 'product_variation', 'shop_order', 'shop_order_refund', 'shop_order_placehold', 'shop_coupon'] ); -
apply_filters( 'cbdc_wc_protected_order_statuses', ['processing', 'on-hold', 'completed', 'refunded'] ); -
apply_filters( 'cbdc_wc_protected_roles', ['administrator', 'editor', 'shop_manager'] ); -
apply_filters( 'cbdc_wc_site_has_residue', $found, $site_id ); -
apply_filters( 'cbdc_wc_tracked_post_types', ['shop_order', 'shop_order_placehold', 'shop_order_refund', 'shop_coupon', 'product', 'product_variation', 'shop_subscription'] ); -
apply_filters( 'cbdc_wc_user_is_deletable', true, $user_id ); -
apply_filters( 'cbdc_wcc_customer_meta_keys', [ 'billing_first_name', 'billing_last_name', 'billing_email', 'billing_phone', 'billing_address_1', 'billing_city', 'billing_postcode', 'billing_country', 'shipping_first_name', 'shipping_last_name', 'shipping_address_1', 'shipping_city', 'shipping_postcode', 'shipping_country', 'paying_customer', 'wc_last_active', '_order_count', '_money_spent', ] ); -
apply_filters( 'cbdc_wcc_customer_role_value', serialize(['customer' => true]) ); -
apply_filters( 'cbdc_wcc_deletable_groups', cbdc_wcc_group_keys() ); -
apply_filters( 'cbdc_wcc_groups', $groups ); -
apply_filters( 'cbdc_wcc_inactive_days', cbdc_wc_min_order_age_days() ); -
apply_filters( 'cbdc_wcc_inactive_with_orders_days', CBDC_WC_INACTIVE_CUSTOMER_DAYS ); -
apply_filters( 'cbdc_wcc_per_page', CBDC_WCC_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_wcc_review_groups', ['customers_no_orders', 'inactive'] ); -
apply_filters( 'cbdc_wccp_deletable_groups', cbdc_wccp_group_keys() ); -
apply_filters( 'cbdc_wccp_groups', $groups ); -
apply_filters( 'cbdc_wccp_per_page', CBDC_WCCP_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_wccp_retention_days', cbdc_wc_min_order_age_days() ); -
apply_filters( 'cbdc_wccp_review_groups', array_values(array_intersect(['expired', 'unused'], cbdc_wccp_group_keys())) ); -
apply_filters( 'cbdc_wccp_unused_days', CBDC_WCCP_UNUSED_DAYS ); -
apply_filters( 'cbdc_wco_deletable_groups', cbdc_wco_group_keys() ); -
apply_filters( 'cbdc_wco_draft_age_days', CBDC_WCO_DRAFT_AGE_DAYS ); -
apply_filters( 'cbdc_wco_groups', $groups ); -
apply_filters( 'cbdc_wco_per_page', CBDC_WCO_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_wco_preview_statuses', ['trash', 'checkout-draft', 'failed', 'cancelled', 'pending'] ); -
apply_filters( 'cbdc_wco_review_groups', array_values(array_intersect(['failed', 'cancelled', 'pending', 'missing_user', 'leftover_orders', 'leftover_order_posts'], cbdc_wco_group_keys())) ); -
apply_filters( 'cbdc_wcp_deletable_groups', cbdc_wcp_group_keys() ); -
apply_filters( 'cbdc_wcp_groups', $groups ); -
apply_filters( 'cbdc_wcp_per_page', CBDC_WCP_PER_PAGE_DEFAULT ); -
apply_filters( 'cbdc_wcp_preview_post_types', ['product', 'product_variation', 'revision'] ); -
apply_filters( 'cbdc_wcp_product_meta_keys', [ '_sku', '_price', '_regular_price', '_sale_price', '_stock_status', '_manage_stock', '_backorders', '_tax_status', '_tax_class', '_product_version', '_product_attributes', '_product_image_gallery', '_virtual', '_downloadable', '_sold_individually', '_variation_description', '_wc_average_rating', '_wc_review_count', 'total_sales', ] ); -
apply_filters( 'cbdc_wcp_review_groups', array_values(array_intersect(['missing_data'], cbdc_wcp_group_keys())) ); -
apply_filters( 'cbdc_wcp_taxonomies', ['product_type', 'product_visibility', 'product_cat', 'product_tag', 'product_shipping_class', 'product_brand'] ); -
apply_filters( 'cbdc_wcp_taxonomy_prefixes', ['pa_'] );
Generated from CodingBunny Database Cleaner'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: