Dequeue CSS files conditionally
Dequeue CSS files conditionally
Tyler Hall Tech Custom Snippets
All the Goodies
Conditionally disable Cloudflare Turnstile
This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…
Change Accepted Countries Per Campaign
This example shows how to change the accepted countries list on a per-campaign basis.
Set Campaign Thumbnail Size
Set campaign thumbnails to have the same size.
MemberPress: Remove State Text Field
Removes the state text field from the registration and account pages if the country does not…
Allow ICO Files Upload
Enable ICO File Uploads on your WordPress website with this PHP code snippet.
MemberPress: Exclude Posts, Pages, Categories, or Tags from PayWall
Exclude specific posts, pages, categories, or tags from being viewed with the PayWall free views.
Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
Dynamic Year Copyright Shortcode
This snippet adds an easy-to-use shortcode to display the copyright symbol with the current year.
Titel aanpassen archive page
function custom_category_title( $title ) { $title = str_replace( 'Archieven', 'Mijn gewenste titel', $title ); return $title;…
MemberPress: Hide the Cancel Subscription Option for the Set Number of Months
The code snippet will hide the Cancel option for a user’s subscriptions under the Subscriptions tab…
MemberPress: Adjust Column Width for MemberPress Access Column on Admin Pages
This snippet adds custom CSS to adjust the width of the Acess (mepr-access) column on the…
Set State Field To Us States Dropdown With Default
Change the "State" field into a "Province" field.