过滤为图像处理分配的内存限制。
原型
apply_filters( 'image_memory_limit', int|string $filtered_limit )
参数
$filtered_limit
(int|string)
为图像分配的最大内存限制。默认WP_MAX_MEMORY_LIMIT或原始php.ini memory_limit,以较高者为准。接受整数(字节)或简写字符串表示法,例如’256M’。
源文件
路径:wp-includes/functions.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/image_memory_limit/