A WordPress plugin that restores administrative interface functionality for Advanced Product Fields for WooCommerce (WAPF). This plugin enables local development and testing by bypassing license validation while maintaining full admin capabilities.
Advanced Product Fields for WooCommerce is a powerful plugin for creating custom product fields. However, the premium version's license validation can interfere with local development, staging environments, and legitimate testing scenarios. WAPF Admin Fix solves this by:
- β Restoring full access to the admin interface
- β Enabling Add, Edit, Duplicate, and Delete field operations
- β Maintaining data integrity across saves
- β Working seamlessly with the existing WAPF installation
- License Bypass: Removes license validation checks for local/development use
- Full Admin Access: Complete access to all administrative features
- Field Management: Add, edit, duplicate, and delete fields without restrictions
- Data Persistence: Ensures all changes are properly saved
- UI Restoration: Unhides blocked interface elements
- Lightweight and non-intrusive
- No database modifications required
- Compatible with WooCommerce product editing
- Works with TinyBind framework
- Automatic field ID generation matching WAPF's format
- Download the plugin ZIP file
- Go to Plugins β Add New β Upload Plugin
- Choose the ZIP file and click Install Now
- Click Activate Plugin
- Download and extract the plugin
- Upload the
wapf-admin-fixfolder to/wp-content/plugins/ - Activate the plugin through the Plugins menu in WordPress
composer require wpackagist-plugin/wapf-admin-fix- WordPress: 5.0 or higher
- PHP: 7.4 or higher
- Advanced Product Fields for WooCommerce: Must be installed (tested with v3.1.5)
- WooCommerce: Required by WAPF
Once activated, the plugin works automatically. No configuration needed!
- Add Field Button - Creates new fields with proper ID generation
- Duplicate Button - Clones fields with unique IDs and " (Copy)" suffix
- Delete Button - Removes fields after confirmation
- License Blocks - Hides all license-related UI restrictions
- Data Sync - Ensures field data persists correctly on save
The plugin intercepts WordPress option filters to provide a valid license response, bypasses UI blocks via CSS, and implements JavaScript handlers to restore broken field management functionality caused by TinyBind framework detachment.
This plugin is released under the GNU General Public License v3.0 or later (GPL-3.0-or-later), the same license as WordPress and Advanced Product Fields for WooCommerce.
Under the GPL, you have the right to:
- β Use the software for any purpose
- β Study how the software works and modify it
- β Distribute copies of the software
- β Distribute modified versions
This plugin is intended for:
- Local development environments
- Staging servers for testing
- Educational purposes and learning
- Development and debugging
Important: This plugin is NOT intended to circumvent purchasing a valid license for production use. Please support the original developers by purchasing a license for commercial/production sites.
- License Filter: Intercepts
pre_option_andoption_filters to return valid license data - CSS Overrides: Hides license warning banners and UI blocks
- JavaScript Handlers: Restores field management functionality:
- Detaches TinyBind from the data input to prevent overwrites
- Implements manual click handlers for Add/Duplicate/Delete buttons
- Syncs field data from DOM to hidden inputs before save
- Generates field IDs matching WAPF's format (13-character hex)
The plugin replicates WAPF's uniqueId() function:
function generateFieldId() {
// Generates 13-character hex ID: 8 chars (timestamp) + 5 chars (random)
// Example: 67f4c9a2b8d1e
}- User edits field in UI
- Changes are synced to
data-raw-fieldsattribute - On save, data is written to
wapf-fieldshidden input - WordPress processes the POST data normally
- WAPF's backend saves the field configuration
Contributions are welcome! Please feel free to submit a Pull Request.
git clone https://github.com/ssthormess/wapf-admin-fix.git
cd wapf-admin-fix- Initial release
- License bypass functionality
- Full field management restoration
- Add/Edit/Duplicate/Delete operations
- Data persistence fixes
- UI block removal
Found a bug? Please open an issue on GitHub.
This plugin is licensed under the GPL-3.0-or-later license. See the LICENSE file for details.
ssthormess
- GitHub: @ssthormess
- Plugin URI: https://github.com/ssthormess/wapf-admin-fix
- Advanced Product Fields for WooCommerce team for creating the original plugin
- WordPress and WooCommerce communities
- GPL licensing framework that makes modifications like this possible
Disclaimer: This plugin is provided "as is" without warranty. Use at your own risk. Always test on non-production environments first.