How to change the store address country for all vendors
/** * Set the vendor's store country to us. */ function wcv_set_vendor_country() { if ( function_exists(…
Allow "Mark received" for Digital Product
add_filter( 'wcvendors_pro_mark_order_received_status', '__return_false' );
Admin Dashboard Access
Limit dashboard access to admin users only. Redirect all other users to site homepage.
MemberPress: Dynamic Trail Periods
Sets up a dynamic trial period so that all users renew on the same date. In…
Disable Jetpack Promotions
For less distraction while using Jetpack plugins.
Search Exclude Tag
Search exclude selected tags from search results without altering SEO.
Untitled Snippet
google-site-verification=6Ml542WH4lYeFrqKo9pBa6NBaAyONR9l0k5Sgrk27xk
Change From Email
Change default email header wordpress@yourdomain to custom name and email address.
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(…
Remove Admin Help
Removes help menu from admin dashboard.
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…