=== EP2P - Easy PDF to Post ===
Contributors: eratalay
Tags: pdf, pdf to post, converter, pdf importer, post generator
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 1.0.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A clean, secure, and modern plugin to instantly convert your local PDF files into WordPress Post drafts. Zero API calls, completely private.

== Description ==

EP2P - Easy PDF to Post is a lightweight, secure, and minimal tool tailored for WordPress publishers who need to migrate PDF content into WordPress posts.

By utilizing a completely local parsing engine (Smalot PDF Parser), it guarantees that your PDF documents are never sent to external servers or third-party APIs. Your data remains strictly on your own server.

Simply upload your PDF via the WP-Admin Tools menu, and the plugin will read the text, detect headings automatically, and generate a new Post Draft for you to edit and publish.

Features

100% Local Processing: No APIs, no "phoning home". Ultimate privacy.

Smart Formatting: Automatically detects headings (H2) and paragraphs.

Security First: Strict adherence to WordPress data sanitization and escaping protocols.

Modern UI: Clean, minimalist, and non-intrusive settings interface under the 'Tools' menu.

Quick Drafts: Auto-formats extracted text and securely inserts them as drafts using wp_insert_post().

Open Source: Proudly released under GPL-2.0+.

== Installation ==

Upload the easy-pdf-to-post folder to the /wp-content/plugins/ directory.

Activate the plugin through the 'Plugins' menu in WordPress.

Navigate to Tools > Easy PDF to Post to start converting your files.

== Frequently Asked Questions ==

= Does this plugin send my PDFs to an external server? =
No. Privacy and security are our top priorities. The conversion happens entirely locally on your own hosting environment using a GPL-compatible PHP library.

= Why am I getting an error saying the PDF is empty? =
The plugin extracts true "Text" layers from PDF files. If your PDF is purely composed of scanned images, the parser will not be able to extract text.

== Screenshots ==

Clean and modern upload interface under the Tools menu.

Success message with a direct link to the newly created Post Draft.

== Changelog ==

= 1.0.2 =

Added smart formatting to automatically detect H2 headings and paragraphs.

Fixed sanitization and localization string comments for full WPCS compliance.

= 1.0.1 =

Added modern, clean Admin UI with loading states.

Implemented strict sanitization and security protocols.

= 1.0.0 =

Initial stable release.