Filter: sensei_file_upload_file_prefix

apply_filters( 'sensei_file_upload_file_prefix', $prefix, $file ) → {string}

Customize the prefix prepended onto files uploaded in Sensei.

Parameters:
Name Type Description
$prefix string

Prefix to prepend to uploaded files.

$file array

Arguments with uploaded file information.

Since:
  • 3.9.0
Source:
Returns:

Filtered prefix.

Type
string