Allow "Mark received" for Digital Product
add_filter( 'wcvendors_pro_mark_order_received_status', '__return_false' );
Show User ID
List user ID column after username on admin user table.
Untitled Snippet
google-site-verification=2qRnmMOU51GWk3rx-tL2TwbUAd1kOVvjw9caXI6AvrA
MemberPress: Dynamic Trail Periods
Sets up a dynamic trial period so that all users renew on the same date. In…
Untitled Snippet
google-site-verification=6Ml542WH4lYeFrqKo9pBa6NBaAyONR9l0k5Sgrk27xk
Remove Gutenberg CSS
//Remove Gutenberg Block Library CSS from loading on the frontend function smartwp_remove_wp_block_library_css(){ wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style(…
Add Subscriber to Segment with Duration
Adds the subscriber to the segment for a specific duration, after the defined number of days…
Action Scheduler Cleardown | Display Eventbrite Events
Eventbrite uses Action Scheduler to handle background tasks when background processing is enabled. By default, Action…
Post-States
add_filter( 'display_post_states', 'bu_style_post_state_bricks', 15, 2 ); function bu_style_post_state_bricks ($post_states, $post) { if( isset( $post_states['bricks'] ) )…
Change TikTok purchase Event
When using the WPCode Conversion Pixels addon the event name used when a purchase is completed…
Disable Plugin & Theme Editor
Prevent users from using the Plugin & Theme file editor.
MemberPress: Set Custom Product Pages
Use this snippet if the membership shortcode is used on a custom page (the page that…
MemberPress: Replace Font-Family for PDF Invoice
To replace the font-family used for PDF invoices, font files need to be uploaded to a…
Disable WordPress Admin Bar for all users
Disable WordPress Admin Bar for all users