Code-Snippets-Functions/Execute a function on a child site/WooCommerce/disable-remote-logging.txt

3 lines
111 B
Text

add_action( 'init', function() {
update_option( 'woocommerce_feature_remote_logging_enabled', 'no' );
} );