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.9.8.1

apply_filters('woocommerce_install_skip_create_files') is found 1 times:

  • /includes/class-wc-install.php line 2130
    2126
    2127
    2128
    2129
    2130
    2131
    2132
    2133
    2134
    2135
    2136
    * 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' );