upload_post_params

upload_post_params

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('upload_post_params') is found 1 times:

  • /wp-admin/includes/media.php line 2168
    	 * @since 3.3.0
    	 *
    	 * @param array $post_params An array of media upload parameters used by Plupload.
    	 */
    	$post_params = apply_filters( 'upload_post_params', $post_params );
    
    	/*
    	* Since 4.9 the `runtimes` setting is hardcoded in our version of Plupload to `html5,html4`,
    	* and the `flash_swf_url` and `silverlight_xap_url` are not used.
    	*/
    	$plupload_init = array(