woocommerce_install_skip_create_files

woocommerce_install_skip_create_files

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_install_skip_create_files') is found 1 times:

  • /includes/class-wc-install.php line 1865
    		 * Bypass if filesystem is read-only and/or non-standard upload system is used.
    		 *
    		 * @since 3.2.0
    		 */
    		if ( apply_filters( 'woocommerce_install_skip_create_files', false ) ) {
    			return;
    		}
    
    		// Install files and folders for uploading files and prevent hotlinking.
    		$upload_dir      = wp_get_upload_dir();
    		$download_method = get_option( 'woocommerce_file_download_method', 'force' );