Filter: sensei_file_upload_args

apply_filters( 'sensei_file_upload_args', $file_upload_args ) → {array}

Filter the data array for the Sensei wp_handle_upload function call

This filter was mainly added for Unit Testing purposes.

Parameters:
Name Type Description
$file_upload_args array

Array of current values.

Properties:
Name Type Description
`$file_upload_args['test_form']` string

Set to false by default.

Since:
  • 1.7.4
Source:
Returns:

Filtered data array.

Type
array