Disable Wish Lists by Category
Customize this plugin to remove wish lists from certain categories of downloads
Allow HTML in the product description
function wcv_wpkses_post_html_tags( $tags, $context ) { if ( 'post' === $context ) { $tags['iframe'] = array(…
Add custom page to the vendor dashboard - custom menu link
add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' ); function custom_menu_link( $pages ) { $pages[ 'custom_link' ] = array( 'slug' =>…
Untitled Snippet
HTML5
Escaping data with wp_kses
// ❌ Don't use html tags in escaping functions like esc_html, esc_attr and their localized equivalents…
Tweak Price Display (Adjusts the Prices) | Display Eventbrite Events
The Display Eventbrite plugin premium version can display prices. If you want to tweak to display…
Disable WP Texturize
// Disable curly quotes remove_filter( 'the_content', 'wptexturize' );
unitap.io
function myfirsttheme_setup() { /* * Load additional block styles. */ $styled_blocks = ['latest-comments']; foreach ( $styled_blocks…
Allow Other WordPress Roles to Manage Email Logs
This snippet will allow you to manage the capabilities of roles allowed to manage the site's…
Untitled Snippet
// Get the butterflies container const butterfliesContainer = document.querySelector('.butterflies'); // Create a function to generate a…
om-emberjs.js
// Using Ember.js. import Route from '@ember/routing/route'; export default Route.extend({ beforeModel(transition) { if (window.om5678_1234) { window.om5678_1234.reset();…
slide-bottom-center.css
html div#om-{{id}} { width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important;…
The draft of receipt
from reportlab.lib.pagesizes import A4 from datetime import datetime from reportlab.platypus import Table, TableStyle, Paragraph, SimpleDocTemplate, Image,…
Filter Countries JUST for Donation Forms
Changing the master country list in Charitable is not recommended unless you know what you are…