Hide payment icons for trials
Hides the payment icons on checkout when the item in the card is a free trial
Add Custom Settings Tab to Vendor Dashboard
// Add the tab to the tab nav add_filter( 'wcv_store_tabs', 'add_custom_tab_nav' ); function add_custom_tab_nav( $tabs ){…
Hide “Everywhere Else” on the countries dropdown
if ( ! function_exists( 'wcv_hide_everywhere_else' ) ) { /** * Hide the "Everywhere else" option in…
Untitled Snippet
@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );
Remove Gateway Choice On A Campaign/Donation Page
This shows how you can detect what page/campaign you are on and remove a gateway from…
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…
Block WP-Admin Area from Non-Administrators
Prevent users who are not administrators from accessing the wp-admin area.
Defining Outlook 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-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.
Editorial Group GTM Body Tag
Add GTM Tag to Site Body in Editorial Site Group
Allow Tasty Pins Only On Single Posts
Disable Tasty Pins on pages or custom post types and only add them to blog posts.