Filter the ItemRequest SQL statement to only include a post type object with specific terms. Add this code snippet to your themes functions.php file. Code Example Get Started
Blog
Filter WooCommerce SKU Value by Replacing Text
This filter will replace the _sku value by replacing a portion of the text string. Code Example Get Started
Filter WordPress Post Title
Filter a portion of the post title to replace specific characters. Add this code snippet to your themes functions.php file. NOTE: When string replacing HTML Entries, it is best practice to use the appropriate HTML Entity code. Code Example Products
Filter WooCommerce Backorder Status Based on Stock Quantity
If you are syncing inventory from your POS to your WooCommerce store you understand the importance of the correct backorder status. WP Data Sync plugin it packed with action hooks and filters to make this an easy customization. In the code example below, we are setting the backorder status based on the stock quantity provided by your data source using the wp_data_sync_{$meta_key}_value filter.Read More
Filter WooCommerce Prices to Add Store Markup
If you are syncing prices from your product supplier’s API. The supplier price does not always include your store’s price markup. WP Data Sync plugin it packed with action hooks and filters to make this an easy customization. In the code example below, we are adding a 10% markup to all prices provided by yourRead More