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' );

MemberPress: Add Address Fields to Authorize.net

By default, the user’s address data collected through MemberPress registration forms are not sent to Authorize.net.…

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: Add Description for Order Bumps Memberships

The code snippet is designed to manually add a custom paragraph as a description for each…

MemberPress: Restrict Email Patterns for Specific Memberships

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

modify woocommerce states list

Modyfiy Woocommerce state list to armenian towns villages or districts

MemberPress: Unsubscribed Memberships Shortcode

This code snippet adds [mepr-unsubscribed-memberships] shortcode to display an unordered list (Titles/links) of the logged-in user’s…

CSS for Header

This snippet adds Google Analytics tracking code to the header of the site

MemberPress: Exclude Protected Posts From the Main Query

This code snippet modifies the main WordPress query to exclude all posts related to the specified…

1 110 111 112 113 114 220