Skip to content

Commit d8b72a8

Browse files
docs: enhance plugin descriptions with hook system documentation
- Update plugin description in main file to highlight comprehensive hook system - Enhance readme.txt with detailed extensibility features and customization examples - Add dedicated section explaining 15+ filters and actions for complete customization - Improve FAQ with specific hook usage examples and integration guidance - Add changelog entry for version 1.0.3 documenting hook system enhancements - Bump version from 1.0.2 to 1.0.3 to reflect new extensibility features
1 parent ae89e11 commit d8b72a8

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

easycommerce-fakerpress.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
* @wordpress-plugin
1111
* Plugin Name: EasyCommerce FakerPress
1212
* Plugin URI: https://github.com/mralaminahamed/easycommerce-fakerpress
13-
* Description: Comprehensive EasyCommerce test data generator with 10 specialized generators, real-time validation, advanced parameter configuration, WordPress admin color integration, and modern React Router v7 interface.
14-
* Version: 1.0.2
13+
* Description: Comprehensive EasyCommerce test data generator with 10 specialized generators, real-time validation, advanced parameter configuration, WordPress admin color integration, modern React Router v7 interface, and extensive hook system for complete customization.
14+
* Version: 1.0.3
1515
* Requires at least: 5.0
1616
* Requires PHP: 7.4
1717
* Author: Al Amin Ahamed
@@ -27,7 +27,7 @@
2727
exit;
2828
}
2929

30-
define( 'EASYCOMMERCE_FAKERPRESS_VERSION', '1.0.2' );
30+
define( 'EASYCOMMERCE_FAKERPRESS_VERSION', '1.0.3' );
3131
define( 'EASYCOMMERCE_FAKERPRESS_PLUGIN_FILE', __FILE__ );
3232
define( 'EASYCOMMERCE_FAKERPRESS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
3333
define( 'EASYCOMMERCE_FAKERPRESS_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );

readme.txt

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: ecommerce, faker, data-generation, testing, development
44
Requires at least: 5.0
55
Tested up to: 6.8
66
Requires PHP: 7.4
7-
Stable tag: 1.0.2
7+
Stable tag: 1.0.3
88
License: GPL v2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -17,11 +17,19 @@ EasyCommerce FakerPress is a robust WordPress plugin designed to generate realis
1717
* **10 Specialized Generators**: For products, customers, orders, coupons, variations, shipping, taxes, transactions, cart sessions, and locations.
1818
* **Real-Time Validation**: Ensures data integrity with dependency checks and user-friendly feedback.
1919
* **Advanced Configuration**: Nested parameters, intelligent defaults, and extensible hooks.
20+
* **Comprehensive Hook System**: 15+ filters and actions for complete data customization and workflow integration.
2021
* **Modern Interface**: Built with React Router v7, Tailwind CSS, and automatic WordPress admin color scheme adaptation.
2122
* **Enterprise-Grade Architecture**: PSR-4 compliant, with native EasyCommerce model integration and 11 REST API controllers.
2223

2324
This plugin is ideal for enterprise development, QA testing, integration validation, and scalable performance assessments in non-production environments.
2425

26+
**Extensibility & Customization**:
27+
The plugin provides a comprehensive hook system allowing developers to customize every aspect of data generation:
28+
- **Data Filters**: Modify generated data before creation with 10+ `easycommerce_fakerpress_*_data_before_create` filters
29+
- **Result Filters**: Customize returned data with `easycommerce_fakerpress_*_generation_result` filters
30+
- **Workflow Actions**: Integrate with generation process using strategic `easycommerce_fakerpress_after_*_created` actions
31+
- **API Integration**: Filter REST responses with `easycommerce_fakerpress_rest_response` for complete API customization
32+
2533
**Data Generation Highlights**:
2634
- **Products**: Includes attributes, variations, categories, pricing strategies, and inventory tracking.
2735
- **Customers**: Features demographics, purchase history, loyalty tiers, and behavioral segmentation.
@@ -76,7 +84,7 @@ Data is crafted using Faker for authentic details (e.g., addresses, names) combi
7684
**Caution**: Use exclusively in development or staging environments. Always back up your database prior to generation, start with small datasets, and avoid live sites without thorough testing.
7785

7886
= Can I customize generation? =
79-
Customization is supported via hooks for logic modifications, configuration panels for quantities/patterns, and abstract classes for extending generators.
87+
Yes, extensively! The plugin includes a comprehensive hook system with 15+ filters and actions for complete customization. Use `easycommerce_fakerpress_*_data_before_create` filters to modify data before creation, `easycommerce_fakerpress_*_generation_result` filters for result customization, and `easycommerce_fakerpress_after_*_created` actions for workflow integration. Configuration panels support quantities/patterns, and abstract classes enable extending generators.
8088

8189
= What about performance for large datasets? =
8290
Optimizations include batch processing, memory-efficient algorithms, and resumable progress tracking to handle extensive datasets without timeouts.
@@ -111,6 +119,12 @@ Employ WordPress deletion tools for items, bulk cleanup plugins, or targeted dat
111119

112120
== Changelog ==
113121

122+
= 1.0.3 - October 29, 2025 =
123+
* **Hook System Enhancement**: Added comprehensive filter and action hooks for complete data customization and workflow integration
124+
* **Extensibility Improvements**: Implemented 15+ hooks including data filters, result filters, and strategic actions
125+
* **API Customization**: Added REST response filtering for complete API extensibility
126+
* **Code Quality**: Maintained PHPStan level 8 compliance and WordPress coding standards
127+
114128
= 1.0.2 - October 29, 2025 =
115129
* **Performance Improvements**: Optimized data generation algorithms for better memory usage and faster processing
116130
* **Bug Fixes**: Fixed validation issues and improved error handling across all generators

0 commit comments

Comments
 (0)