Closed binaryfire closed 3 years ago
Hi @binaryfire, yes, you can manipulate the default allowlist using the options_import_allowlist
filter. If you were to return an empty array to that filter, nothing would be checked by default. The "default" option would still exist, but it would do nothing. Here's some code for your plugin or theme to get you started:
add_filter( 'options_import_allowlist', '__return_empty_array' );
Great, thanks so much!
Hi guys
Is there a way to remove the default whitelist? I'd like to only export and import the options I specify (no defaults).
Cheers