Show login form for logged out users

Shows the [edd_login] form on restricted content for logged out users.

WWPP - Restrict add-to-cart on specific products to a specific wholesale role only

How to use and configure this snippet: 1. Set your exact Role Key: In the snippet,…

Disable comments

add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…

<10

Genesis theme - use block editor in widgets

//* Genesis Enable the block-based widget editor add_filter( 'use_widgets_block_editor', '__return_true' );

Restrict WordPress Admin Access by Country

Restrict access to wp-admin based on visitor country using Cloudflare's country header. Useful for agencies, membership…

Untitled Snippet

google.com, pub-9481928342352849, DIRECT, f08c47fec0942fa0

Add order status to commissions table

/** * Add order status to commissions table * * @param Array $columns array stored column…

cart preview image stretch fix in oceanWP theme

/*Menu cart hover dropdown box image stretch fix*/ .woocommerce ul.product_list_widget li img { float: unset !important;…

Untitled Snippet

custom events , running more than one function

WPEX Tetris REST Meta Integration

This code snippet exposes the following meta fields to the REST API: - universal_local_image_attachment_ids - universal_local_audio_attachment_ids…

Add TikTok to the social tab of settings

This will show the setting and it should be saved when saving the form.

1 … 126 127 128 129 130 … 242