WordPress.org

Ready to get started?Download WordPress

Forums

Cart66 Lite :: WordPress Ecommerce
How to remove cart 66 meta generator? (7 posts)

  1. hiboy
    Member
    Posted 1 year ago #

    Hi, as titled, how to remove cart 66 meta generator?

    http://wordpress.org/extend/plugins/cart66-lite/

  2. reality66
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, there is a filter for that

    remove_action('wp_head', array('Cart66Common','displayVersionInfo'));

  3. hiboy
    Member
    Posted 1 year ago #

    hi reality66, may i know where do i place that filter?

  4. reality66
    Member
    Plugin Author

    Posted 1 year ago #

    you should be able to drop that code in your theme's functions.php file

  5. hiboy
    Member
    Posted 1 year ago #

    hi again, thank for your reply, i tried placing in my theme function.php and the meta generator still appear when i "view page source" at my front end. Any solution?

  6. hiboy
    Member
    Posted 1 year ago #

    Hmm, i just updated cart 66 lite to the latest version 1.5.1.1, could it be there is a new filter?

  7. Bev
    Member
    Posted 1 year ago #

    Add this to functions.php:

    if (class_exists('Cart66Common')) {
    	function remove_cart66_meta() {
    	    Cart66Common::removeCart66Meta();
    	}
    	add_action('init', 'remove_cart66_meta');
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.