WordPress.org

Forums

WP eCommerce
Get parent category ID (1 post)

  1. lord_dev
    Member
    Posted 2 years ago #

    Hey

    Does anyone know the code for getting the current parent category ID?

    E.g. Conditional Statement

    if(wpsc_parent_category() == 4)
    {
    // do this code
    }
    else
    {
    // do this
    }

    http://wordpress.org/extend/plugins/wp-e-commerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic