WordPress at a glance
filter is not described

image_memory_limit filter-hook . WP 3.5.0

Filters the memory limit allocated for image manipulation.


add_filter( 'image_memory_limit', 'filter_function_name_7818' );
function filter_function_name_7818( $filtered_limit ){
	// filter...

	return $filtered_limit;
Maximum memory limit to allocate for images.ini memory_limit, whichever is higher. Accepts an integer (bytes), or a shorthand string notation, such as '256M'.
Default: WP_MAX_MEMORY_LIMIT or the original php

Список изменений

С версии 3.5.0 Введена.
С версии 4.6.0 The default now takes the original memory_limit into account.

Где вызывается хук

wp-includes/functions.php 6881
$filtered_limit = apply_filters( 'image_memory_limit', $filtered_limit );

Где используется хук в ядре WP

Использование не найдено.