OM-revenue-attribution-curl.sh

curl --request POST \ --url https://app.optinmonster.com/v2/revenue \ --header 'Content-Type: application/json' \ --header 'Origin: optinmonster.com' \ --header…

Replace Special Characters in Post Title

Replace special characters in Post Title with correct HTML entity

Colin Bunn PRO
<10

Add post meta if content has WP Tasty

This snippet will check if your migrated content has WP Tasty in it and if it…

<10

Disable Widgets blocks

//Disable Widgets blocks add_filter( 'use_widgets_block_editor', '__return_false' );

MFP > Deploy Show & Get Data

add_action('acf/save_post', 'add_show_children'); function add_show_children($post_id) { if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; if (!wp_is_post_revision($post_id) && 'show' ==…

MemberPress: Restrict Email Patterns for Specific Memberships

This code snippet prevents users with specific email patterns from registering for any of the specified…

Coded Options Page

Coded Options Page 1️⃣ Admin Menüpunkt für die globale Einstellungsseite hinzufügen 2️⃣ Inhalt der Einstellungsseite mit…

Disable Admin Notices WordPress

Completely removes all admin notices from the WordPress dashboard, * including core WordPress notices and those…

MemberPress: Classic Editor Fix for Courses

This code snippet will enable the default (Gutenberg) Block editor for MemberPress Courses in cases where…

MemberPress: WP Forms Pro - Fix Custom Phone Number Field

When a custom phone number field is added to the MemberPress membership registration forms, WP Forms…

MemberPress: Allow Users to Pause/Resume Subscriptions Only for Specific Memberships

For this code snippet to work, the Allow members to pause/resume their subscription option needs to…

1 … 135 136 137 138 139 … 244