Filter hook 'cron_memory_limit'
in WP Core File wp-includes/functions.php at line 7827
Description
Filters the memory limit allocated for WP-Cron event processing.
Occurrences
Filename |
Line Number |
wp-includes/functions.php |
7827 |
Parameters
Type |
Name |
Description |
int|string |
$filtered_limit |
Maximum memory limit to allocate for WP-Cron. 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'. |
PHP Doc
/**
* Filters the memory limit allocated for WP-Cron event processing.
*
* @since 6.3.0
*
* @param int|string $filtered_limit Maximum memory limit to allocate for WP-Cron.
* 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'.
*/