add_shortcode( ‘word-cloud’, ‘s11_word_cloud’ ); function s11_word_cloud( $atts ) { $atts = shortcode_atts( array( ‘words’ => ‘Awesome, Fabulous’, ‘colors’ => ‘#21759b, #d54e21, #464646’, ), $atts ); $colors = explode( ‘,’, $atts[‘colors’] ); $words = array_filter( explode( ‘,’, $atts[‘words’] ) ); $words…Continue reading
Loading the Elevenlabs Text to Speech AudioNative Player…Continue reading
function remove_plugin_filter() { remove_filter( ‘woocommerce_product_is_visible’, ‘MeprRulesCtrl::override_wc_is_visible’, 11, 2); remove_filter( ‘woocommerce_variation_is_visible’, ‘MeprRulesCtrl::override_wc_is_visible’, 11, 4); } add_action( ‘plugins_loaded’, ‘remove_plugin_filter’ );Continue reading
/* Disable WordPress Admin Bar for all users */ add_filter( ‘show_admin_bar’, ‘__return_false’ );Continue reading
add_action( ‘before_rocket_clean_domain’, function() { do_action( ‘qm/cease’ ); } );Continue reading
/** * Manually refresh all members’ data. * * Once this snippet is added, visit /wp-admin/?update-member-data=true on your site to update all member data. * After running the update, clear any site cache and check the Members page again. */…Continue reading
function mepr_custom_checkout_image() { ?>Continue reading
/* This code snippet is intended to filter the available subscription plans, allowing only specific plans. * * This code is used to prevent vendors from changing their plan to the free subscription option. * * The `pms_member_change_subscription_other_plans` filter hook…Continue reading
function custom_category_title( $title ) { $title = str_replace( ‘Archieven’, ‘Mijn gewenste titel’, $title ); return $title; } add_filter( ‘archive_title’, ‘custom_category_title’ );Continue reading