Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/functions.php | apply_filters | 7483 | /** * Filters the memory limit allocated for image manipulation. * * @since 3.5.0 * @since 4.6.0 The default now takes the original `memory_limit` into account. * * @param int|string $filtered_limit Maximum memory limit to allocate for images. * Default `WP_MAX_MEMORY_LIMIT` or the original * php.ini `memory_limit`, whichever is higher. * Accepts an integer (bytes), or a shorthand string * notation, such as '256M'. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int|string | $filtered_limit | Maximum memory limit to allocate for images. |