Filter hook 'wp_max_autoloaded_option_size'

in WP Core File wp-includes/option.php at line 1330

Description

Filters the maximum size of option value in bytes.

Occurrences

Filename Line Number
wp-includes/option.php 1330

Parameters

Type Name Description
int $max_option_size The option-size threshold, in bytes. Default 150000.
string $option The name of the option.

PHP Doc

/**
	 * Filters the maximum size of option value in bytes.
	 *
	 * @since 6.6.0
	 *
	 * @param int    $max_option_size The option-size threshold, in bytes. Default 150000.
	 * @param string $option          The name of the option.
	 */