Search results for: admin
om-js-event-ga-name-change.js
document.addEventListener( 'om.GoogleAnalytics.preConversionEvent', function( event ) { const { gaEvent } = event.detail; gaEvent.name = 'generate_lead'; //…
Changing Sublabels for the Email Field
This snippet is used to update the default labels for the Email field when it includes…
Remove the default 'aioseo-' ID prefix added for the Table of Content block
This snippet can be used to remove the default 'aioseo-' ID prefix added for the Table…
WP Simple Pay: Custom Webhook Handling Example
An example of handling the `coupon.updated` webhook event. For a full list of available events see:…
woo orders page courier address
// Add the new column to the orders page add_filter('manage_edit-shop_order_columns', 'display_courier_address_column'); // Display data in the…
Force account creation by cart total
Force account creation at checkout if the cart total is a certain amount and the quantity…
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…
Price Option Not Checked
Prevent variable pricing options from being checked by default
WordPress Content Filter: Removing Tags for Enhanced Display Control
The purpose of this code snippet is to filter out tags and their contents from the…
Change Validation Messages for WPML
When you need to provide multiple different language translations, these messages need to be conditionally different.…
Use Full Store Address in Ships From
By default the Ships From metadata displayed under the add to cart button only shows the…
Append a Page to the Additional Pages Sitemap
This filter can be used to Append a Page to the Additional Pages Sitemap