• Great plugin thanks for this! One issue/question – the plugin creates a product category called “credit” – which now shows up on the sidebar. I wouldn’t want that there when the site launches – how can this be removed?

    There are no products in the category of course – but when I deactivate the plugin – it’s gone (and I can delete it) – re-activated the “credit” category automatically pops up and can’t be deleted.

    Thoughts?
    Thanks guys!

    https://www.ads-software.com/plugins/user-waller-credit-system/

Viewing 1 replies (of 1 total)
  • Thread Starter JBCO

    (@jbco)

    Think I got it – I just snipped out some code from the “user-wallet-main.php” file ::

    Look for

    /** register terms needed for plugin */
    	public function register_terms ()
    	{	wp_insert_term(
    		  'Credit',
    		  'product_cat',
    		  array(
    		    'description'=> '',
    		    'slug' => 'credit'
    		  )
    		);
    }
    	/**

    And snip out

    wp_insert_term(
    		  'Credit',
    		  'product_cat',
    		  array(
    		    'description'=> '',
    		    'slug' => 'credit'
    		  )
    		);

    Tested it three times and it works as I need it to ??

Viewing 1 replies (of 1 total)
  • The topic ‘Creates Category – Can't Delete ?’ is closed to new replies.