After database migration, theme mods don’t show


My WordPress installation has only one theme which is active. The wp_option entry for it shows there are 31 theme mod entries.


however when I run get_theme_mod( 'my_mod_x' )) nothing comes is returned.
So too when I run on the command line: wp theme mod get --all --allow-root. All I get is:

| key                | value |
| custom_css_post_id | 5248  |

Can anyone tell me what would cause WordPress to think there is only one theme mod when there is supposed to be many?

Meyer Auslander - Tst 12 months 2021-08-16T16:47:10-05:00 0 Answers 0 views 0

Leave an answer