Hide product categories
Hides some categories that customers are not supposed to see.
aa
add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…
Open External link to a new tab
This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…
popup
×
Custom Payment Icon
Register a custom payment icon to show on the checkout form.
Untitled Snippet
'options' => array( '' => 'Maak een keuze', 'Google' => 'Google', 'Via Marktplaats' => 'Via Marktplaats',…
custom footer chatgpt css
/* Style the footer container */ #custom-footer { background-color: #fff; /* White background */ padding: 1px;…
WP Simple Pay: Custom Decimal Separator
Changes the decimal separator from a . (period) to a , (comma).
Completely Disable Comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
CCT repeater tree callback
// Callback pre JetEngine Dynamic Field – vykreslí vnorený repeater ako strom add_filter( 'jet-engine/listings/allowed-callbacks', function (…
On Add to Cart Event in EDD
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers. This also…
Disable The WP Admin Bar
Hide the WordPress Admin Bar for all users in the frontend.