WordPress at Your Fingertips
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_745' );
function filter_function_name_745( $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


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

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.