om.Optin.init.submit example
document.addEventListener('om.Optin.init.submit', function(event) { // Grab the email address submitted by the user. const email = event.detail.Optin.data.fields.email;…
Page Element Shortcodes
add_shortcode('page_title', function () { global $wp_query; if( isset( $wp_query ) && (bool) $wp_query->is_posts_page ) { return…
om external links monsterlink
(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'YOUR-UNIQUE-ID'; // Helper to get…
修改WP Memory等參數
// 設定 WordPress 記憶體限制 define('WP_MEMORY_LIMIT', '256M'); define('WP_MAX_MEMORY_LIMIT', '512M'); // 設定 PHP 執行層的上傳限制 @ini_set('upload_max_filesize', '64M'); @ini_set('post_max_size', '64M');…
Login Restrict
Login Restrict
Enable JSON and SVG uploads for administrator users only
/** * Enable JSON and SVG uploads for administrator users only. */ add_filter( 'upload_mimes', function (…
GravityView_DIR_RAPI -Expose GravityView ACF Fields to REST API
* WPCode Snippet: Expose GravityView ACF Fields to REST API (MANUAL SYNC ONLY) * Description: Makes…
SEO for GHL
Pixel for SEO in GHL
Gravity Forms: Cambridge Caregivers Gravity Forms Snippets
Credit Card Expiration Field on Cambridge Caregivers Engagement Form year dropdown set to current year and…
Billing Address Email Tag - Actual Country Name
Replace the default {billing_address} email tag to use the full State/Country names on purchase receipts.