flowcrafter_send_email_max_file_bytes

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

Description

Filter the per-file attachment size cap, in bytes.

Usage

Change the per-file attachment size limit.

add_filter( 'flowcrafter_send_email_max_file_bytes', 'my_custom_function' );

Parameters

$max int

Default {@see self::MAX_FILE_BYTES}.

Examples

Change the per-file attachment size limit

add_filter( 'flowcrafter_send_email_max_file_bytes', fn() => 10 * MB_IN_BYTES );

Since

  • 1.0-beta-1 Hook added.