WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce
Get parent category ID (1 post)

  1. lord_dev
    Member
    Posted 1 year 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

About this Topic