webberzone.dev Recent

wzkb_github_skip_file filter Pro only

wzkb_github_skip_file

Allow skipping a file before download.

Type: filter
Since: 3.1.0
Source: includes/github/class-import-processor.php line 91

Parameters

TypeNameDescription
bool$skipWhether to skip this file.
string$file_pathFile path within the repo.
array$mappingRepository mapping.

Usage

add_filter( 'wzkb_github_skip_file', function($skip, $file_path, $mapping) {
    // ...
    return $skip;
} );