WC_Product::get_category_ids PHP Méthode

get_category_ids() public méthode

Get category ids.
Since: 2.7.0
public get_category_ids ( string $context = 'view' ) : array
$context string
Résultat array
    public function get_category_ids($context = 'view')
    {
        return $this->get_prop('category_ids', $context);
    }
WC_Product