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.

Usage

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

	return $filtered_limit;
}
$filtered_limit(int/string)
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

Notes

  • Since 4.6.0 The default now takes the original memory_limit into account.

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.