Search results for: admin

trigger spesific monsterlink on hover

jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; // When…

trigger monsterlink on hover

jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; $('body').on('mouseover', '[href="https://app.monstercampaigns.com/c/'…

add filter

add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_pages'; } );

wp-config

define( 'OPTINMONSTER_API_USER', 'your_username_here' ); define( 'OPTINMONSTER_API_KEY', 'your_key_here' );

Remove Decimal Points In Suggested (US)

Will turn "$5.00" into "$5" on suggestion donation amounts in the donation form.

Add Custom Attributes and Group Them

// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…

<10

Add Unified Product SKU with ID for Facebook Feed || WPML || PFE

function adt_wpml_unified_product_sku_id( $product_data, $feed, $product ) { // Check if the feed is for Facebook dynamic…

<10

Unified Product ID for Facebook Feed || WPML || PFE

function adt_wpml_unified_product_id( $product_data, $feed, $product ) { // Only run for Facebook dynamic remarketing feed if(…

<10

To display your campaign language RTL

html div#om-{{id}} * { direction: rtl !important; unicode-bidi: bidi-override !important; }

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 (…

1 61 62 63 64 65 136