| 开发者 | enconvert |
|---|---|
| 更新时间 | 2026年7月10日 18:59 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
pk_*) on your EnConvert API keys page.[enconvert_url_to_pdf] into any page, post, or shortcode block.enconvert-url-to-pdf folder to /wp-content/plugins/, or install via the Plugins menu.pk_*) and add this site's domain to its allowed-domains list (wildcards like *.example.com work).[enconvert_url_to_pdf] in any page, post, or Shortcode block.Sign in at enconvert.com and go to Dashboard → API Keys. Create a key of type "Public" (pk_*). Public keys are designed for browser use and are restricted to the domains you list.
Secret keys (sk_*) cannot be used from a browser — the API rejects them with a 403 error. Public keys (pk_*) are safe to use in front-end code because they are restricted to a list of domains you control. If someone copies your key, it will not work on their site.
No. The visitor's browser sends the URL directly to api.enconvert.com. Your WordPress server never sees the URL or the resulting PDF.
The domain serving the WordPress page is not in the API key's allowed-domains list. Open your EnConvert dashboard, edit the key, and add your site's domain. Wildcards like *.example.com cover all subdomains.
Yes. WordPress includes a built-in Shortcode block. Add it and paste [enconvert_url_to_pdf]. The form renders both inside the editor preview and on the published page.
The free tier includes 100 conversions per month. Paid tiers raise the limit; see enconvert.com/pricing.
Yes, but each site needs to activate the plugin and configure its own API key. The plugin has not been tested as a network-activated plugin.