wzkb_github_pre_import
Process a single Markdown file from the ZIP.
Type: filter
Since: 3.1.0
Source: includes/admin/exim/class-markdown-importer.php line 184
Parameters
| Type | Name | Description |
|---|---|---|
Content_Importer |
$converter |
Markdown converter instance. |
string |
$zip_name |
Filename within the ZIP (used as slug fallback). |
string |
$content |
Raw file content. |
bool |
$overwrite |
Overwrite existing articles matched by slug. |
Usage
add_filter( 'wzkb_github_pre_import', function($converter, $zip_name, $content, $overwrite) {
// ...
return $converter;
} );