disable OptinMonster campaigns for visitors with specific user roles
function om_docs_hide_optin_for_user_roles( $campaigns ) { // Do nothing if no user is logged in. if (…
Untitled Snippet
(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => { basicSubscriptions.init({ type: "NewsArticle", isPartOfType: ["Product"], isPartOfProductId: "CAow7ue8DA:openaccess", clientOptions:…
Hide all admin notices and notifications
The code below can hide all notices, error notices, warnings, update notices, etc, from the WP…
Increase Dropdown Menu Width - Divi Themes
.et_pb_menu ul.sub-menu { width: 300px; /* Adjust this value to your desired width */ } /*…
Javascript Org Chart
window.onload = function() { // Initial organizational data structure let orgData = { id: '1', name:…
ACF_KEYSMST_MSTCASECPT – TAB: TREATMENT PROGRESS (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: TREATMENT PROGRESS (v3.0 Modular) * ============================================ * *…
CSS_Universal - BuddyBoss + LifterLMS + Gravity Forms + GravityView stack
- Global Gravity Forms style fixes - Red error messages (shared brand red) - Black/white confirmation…
Cortex E-commerce Products SEO Meta
/** * Cortex E-commerce Products SEO Meta API v1.0 * REST Endpoints for WooCommerce Product &…
bypass SSL certificate
bypass ssl - getting errors - fixes that
Add Custom Taxonomy - Multiple Vendor Taxonomy
Allows the vendor to select multiple taxonomies
Add a video field to the sign-up form
// Add the video field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_video_uploader'); function wcv_video_uploader( ){ //…
Force product type for all products
// Disable the product type drop down. add_filter('wcv_disable_product_type', function() { return true; } ); /** *…
Add TikTok to the social tab of settings
This will show the setting and it should be saved when saving the form.