Where are the snippets stored in my WordPress database?

Avatar

By Shea Bunge

updated about 1 month ago

Snippets are stored in the wp_snippets table in the WordPress database.

If you are using a different prefix to the default wp_, then the table name will be whatever table prefix you have chosen followed by snippets.

If you are using Code Snippets on WordPress Multisite, then the network-wide snippets table is called ms_snippets, preceded by whatever your prefix is.

Did this answer your question?