开发者 | pluginwave |
---|---|
更新时间 | 2025年8月28日 18:03 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-json/dppbuilder/v1/passport/{product_id}
conformsTo
metadata (v0.6.1 pre-release) for closest-available alignment/wp-content/plugins/
or install via the WordPress Plugins screenYes, DPPBuilder requires WooCommerce to be installed and activated. The plugin will display an error message if WooCommerce is not available.
Not yet — there is no fully compliant solution on the market either. The official EU DPP regulation and its JSON data format have not been finalized. DPPBuilder is designed for early adopters, developers, and businesses who want to start understanding and practicing how Digital Product Passports will work in WooCommerce. It currently follows the closest publicly available draft (UN/CEFACT UNTP DPP v0.6.1 pre-release) and will be updated to match the final standard once it is published.
No. The public REST endpoint is disabled by default to respect privacy and WordPress.org guidelines. Admins can enable it in the plugin settings when needed. Go to: DPPBuilder → Settings → General → "Public REST Endpoint" to enable. The endpoint returns only passport data for the requested product and no personal data.
Yes! Developers can hook into the dppb_passport_generated
action to modify the passport data before it's stored. The plugin also provides filters for customizing the output. If you need deeper UNTP alignment, you can add additional UNTP terms while preserving existing keys for backward compatibility.
Yes, you can generate passports for existing products from the product editor using the “Generate DPP” button.
Yes! Use the shortcode [dppbuilder_view product_id="123"]
on any page, or simply [dppbuilder_view]
on a product page to automatically detect the current product.
Yes, the plugin is fully internationalized and ready for translation. Translation files can be added to the /languages/
directory.
The plugin includes comprehensive security features: nonce verification, capability checks, input sanitization, rate limiting for API endpoints, and protection against common vulnerabilities. All user inputs are validated and sanitized before processing.
Yes, the plugin includes export functionality under DPPBuilder → Tools for backing up or migrating your passport data.
conformsTo
metadata (v0.6.1 pre-release)