webberzone.dev Recent

wzkb_github_pre_import filter Pro only

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

TypeNameDescription
Content_Importer$converterMarkdown converter instance.
string$zip_nameFilename within the ZIP (used as slug fallback).
string$contentRaw file content.
bool$overwriteOverwrite existing articles matched by slug.

Usage

add_filter( 'wzkb_github_pre_import', function($converter, $zip_name, $content, $overwrite) {
    // ...
    return $converter;
} );