MemberPress: Move PayPal Smart Pay Buttons

Move the PayPal Smart Pay Buttons under the checkboxes for accepting Terms of Service and the…

ai content idea generator

function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…

Allow mobile zoom

function et_add_viewport_meta(){ echo ''; }

Free tiktok views

Get free tiktok views growing

MemberPress: Disable Math Captcha on login page

The code allows you to use the MemberPress Math Captcha plugin for registration only. This code…

Prevent Duplicate Purchases

Prevents logged-in customers from purchasing an item twice.

MemberPress: Display User's Course Progress in MemberPress Courses

The code snippet registers a new shortcode: [mpcs_user_courses_progress]. Adding this shortcode will display all MemberPress courses…

Set Custom Donation Receipt Page For Offline Donations

You may want to use a different donation receipt page for Offline donations than your other…

Profile Data Shortcode

Renders the value of a single Profile Form field. Accepts one value, key. But it has…

WP Simple Pay: Programmatically Set Custom Field Default Value

Use metadata as the default value for a payment form's custom field.

Remove "mail.readwrite" Scope for the Outlook Mailer

This snippet removes the `mail.readwrite` scope from the WP Mail SMTP plugin Outlook provider.

MemberPress: Adding Credit Card and Expiry Information to Subscriptions Table

This snippet adds a new column to the table under the Subscriptions tab on the Account…

expose acf

function expose_acf_to_rest() { register_rest_field('game_state', 'acf', [ 'get_callback' => function($post_arr) { return get_fields($post_arr['id']); }, 'update_callback' => null,…

Display Width in Pixel - Elementor

This displays Width of the Current Editor View in Pixels, when Editing in Elementor. Copied from..…

1 48 49 50 51 52 225