flowcrafter_send_email_max_total_bytes

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Change the total attachment size limit
  5. Since

Description

Filter the combined attachment size cap, in bytes.

Usage

Change the total attachment size limit.

add_filter( 'flowcrafter_send_email_max_total_bytes', 'my_custom_function' );

Parameters

$max int

Default {@see self::MAX_TOTAL_BYTES}.

Examples

Change the total attachment size limit

add_filter( 'flowcrafter_send_email_max_total_bytes', fn() => 20 * MB_IN_BYTES );

Since

  • 1.0-beta-1 Hook added.