wzkb_github_pre_import
Filters file data just before a KB article is inserted or updated.
Return the array with ‘skip’ set to true to abort the import for this file.
Type: filter
Since: 3.1.0
Source: includes/pro/github/class-import-processor.php line 298
Parameters
| Type | Name | Description |
|---|---|---|
array |
$file_data |
File data array. |
Usage
add_filter( 'wzkb_github_pre_import', function($file_data) {
// ...
return $file_data;
} );