wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_max_autoloaded_option_size › Filtr WordPress Hooks

Od6.6.0
Przestarzałyn/a
apply_filters( 'wp_max_autoloaded_option_size', 150000, $option )
Parametry: (2)
  • (int) $max_option_size The option-size threshold, in bytes. Default 150000.
    Wymagane: Tak
  • (string) $option The name of the option.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the maximum size of option value in bytes.





Źródło

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