Created
September 30, 2022 19:28
-
-
Save lukecav/734d926dace0305eae42d7f5b9488bf6 to your computer and use it in GitHub Desktop.
Exclude WooCommerce Sessions and Action Scheduler Log in search and replace in WP Staging plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wpstg_searchreplace_excl_tables($default){ | |
$tables = array('_woocommerce_sessions', '_actionscheduler_logs'); | |
return array_merge($default, $tables); | |
} | |
add_filter('wpstg_searchreplace_excl_tables','wpstg_searchreplace_excl_tables'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wp-staging.com/docs/actions-and-filters/