wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_secrets_max_name_length › WordPress Constants
Since7.2.0
› define( 'WP_SECRETS_MAX_NAME_LENGTH', 172 );
| Defined at: |
|
The longest a secret name may be.
The wp_options.option_name column allows 191 characters. The longest prefix this API stores under is '_wp_network_secret_' (19 characters), so 191 - 19 = 172 is the longest name any store built on core's options tables can accept without truncation, and every store is held to the same limit for consistency regardless of what a specific backend could technically fit.