RED'S Java Snippet
fetch("https://redllc.ai/wp-json/chaport/v1/lead", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(payload) }) .then(res => res.json()) .then(data…
Home page
home page schema
Remove ISO 4217 for Google Feeds
// Force localization for all feeds add_filter('adt_product_feed_localize_price_args', function($args) { $args['decimal_separator'] = '.'; $args['thousand_separator'] = ','; return…
Gravity Forms Hook — BOL Upload Triggers Capture
When the vendor uploads the Bill of Lading, the following snippet links the submission to the…
Redirecting Vendors to Vendor Dashboard on Login
Snippet To Redirect Vendors to their Dashboard on login
Add menu item to vendor dashboard
// Add this to your themes functions.php function add_menu_item( $pages ){ $pages[] = array( 'label' =>…
Untitled Snippet
Item details
Framework_Fluid_CSS
Fluid Design Framework - Fonts: Viewport MIN - 320 -- Viewport MAX - 1200 Space: Viewport…
Automatically Trash Past Events
Sites that have been running for years build up thousands of finished events. They stay in…
List All URLs
Add a submenu under admin tools to list all available URLs.
Disable Gutenberg Editor (use Classic Editor)
add_filter('gutenberg_can_edit_post', '__return_false', 5); add_filter('use_block_editor_for_post', '__return_false', 5);