(identifier)_memory_exceeded
Использование
add_filter( '(identifier)_memory_exceeded', 'wp_kama_identifier_memory_exceeded_filter' );
/**
* Function for `(identifier)_memory_exceeded` filter-hook.
*
* @param $return
*
* @return
*/
function wp_kama_identifier_memory_exceeded_filter( $return ){
// filter...
return $return;
}
- $return
- -
Где вызывается хук
(identifier)_memory_exceeded
woocommerce/includes/libraries/wp-background-process.php 352
return apply_filters( $this->identifier . '_memory_exceeded', $return );