plupload_default_params filter-hookWP 3.4.0

Filters the Plupload default parameters.

Usage

add_filter( 'plupload_default_params', 'wp_kama_plupload_default_params_filter' );

/**
 * Function for `plupload_default_params` filter-hook.
 * 
 * @param array $params Default Plupload parameters array.
 *
 * @return array
 */
function wp_kama_plupload_default_params_filter( $params ){

	// filter...
	return $params;
}
$params(array)
Default Plupload parameters array.

Changelog

Since 3.4.0 Introduced.

Where the hook is called

wp_plupload_default_settings()
plupload_default_params
wp-includes/media.php 3925
$params = apply_filters( 'plupload_default_params', $params );

Where the hook is used in WordPress

Usage not found.