Profile Data Shortcode

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

MemberPress: Add Category Exception to All Post Rule

Add a category exception to the all posts rule instead of having to add the posts…

WP Simple Pay: Programmatically Set Custom Field Default Value

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

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…

Remove Manage Sites

Removes the Manage Sites column from the licenses table on the customer purchase history page

KinTech template

KinTech Cybersecurity Solutions KT KINTECH Services Why Us Process Contact Get Audit Trusted Cybersecurity Partner DEFEND…

Google Ads

Bud Hausman
<10

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

Shortcode to show Thumbnail

Show the featured image anywhere in the post by using [thumbnail].

Paid Memberships Pro with WC Vendors

// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…

Add custom page to the vendor dashboard

// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…

WP Simple Pay: Set a Per-Form Custom Amount Programmatically

Adjust a single payment form's custom amount value programatically.

1 51 52 53 54 55 234