wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_max_autoloaded_option_size › WordPress Filter Hooks

Since6.6.0
Deprecatedn/a
apply_filters( 'wp_max_autoloaded_option_size', 150000, $option )
Parameters: (2)
  • (int) $max_option_size The option-size threshold, in bytes. Default 150000.
    Required: Yes
  • (string) $option The name of the option.
    Required: Yes
Defined at:
Codex:

Filters the maximum size of option value in bytes.





Source

$max_option_size = (int) apply_filters( 'wp_max_autoloaded_option_size', 150000, $option );