# Read the RAW option value from the source site (bypasses the masking filter)
wp --path=/path/to/SOURCE option list --search='EXACT_OPTION_NAME' --field=option_value \
| wp --path=/path/to/TARGET option update EXACT_OPTION_NAME
# Verify on the target with option list (NOT option get, which also runs the mask filter)
wp --path=/path/to/TARGET option list --search='EXACT_OPTION_NAME' --field=option_valueNotes:
- Use
option list --search=... --field=option_value, notoption get—option gettriggers theoption_{name}filter and would for secrets copy the mask, not the value. - Match the exact option name (adjust
--searchif it's a substring of other option names).