Filter the Event Title | Display Eventbrite Events
Example, adding Organizer Name to the front of Event Title. (Note this code snippet applies for…
Use the Variation Name instead of Slug within the Product Name detail of Product exports
function custom_woo_ce_get_product_title_attribute_formatting( $format = 'slug', $post_id ) { // Set the format to Attribute Title $format…
Lowercase Filenames for Uploads
Make all the filenames of new uploads to lowercase after you enable this snippet.
Defining Google Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
SEP color
add_action('admin_head', 'sep_color'); function sep_color() { echo ''; }
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…
om-webhook-example-v1.0.0.json
{ "lead": { "email": "[email protected]", "ipAddress": "1.2.3.4", "referrer": "https://optinmonster.com/", "timestamp": 1699985224, "firstName": "Archie", "lastName": "Monster", "phone":…
Your HTML link may look something like this
Some link on your site.
Sort Events Category by Publish Date (Oldest First)
function sort_posts_by_category($query) { if ($query->is_main_query() && !is_admin()) { $oldest_first_categories = array(1483,1486,1485,1484,1482,1391); // Replace with the IDs…
Untitled Snippet
add_filter( 'aioseo_robots_meta', 'aioseo_filter_robots_meta' ); function aioseo_filter_robots_meta( $attributes ) { $url = home_url( $_SERVER['REQUEST_URI'] ); if (strpos($url,'product_search=')…
Send Sale Alerts From Customer Email
Sets the From address of New Sale alert emails to the customer's email address
Grandfather Renewal Rate
Allows a custom renewal discount to be set for customers who purchased before a custom date
Change Vendor Pending Message
Changes the message shown to vendors when their account is pending.
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…