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
/* * Display author’s profile info and photo * */ function display_author_profile_section($atts) { ob_start(); // Use attributes, set defaults if not provided $atts = shortcode_atts(array( ‘tag’ => ” ), $atts); $tag_slug = $atts[‘tag’]; // Get the current tag from the…Continue reading
CIU Textbook Library Textbook Library Add a New Book Title: Author: Year: Books List ID Title Author Year No books foundContinue reading