The getLinkRewrite category function in PHP is used to return the SEO-friendly URL of a category in Prestashop CMS. This function takes the category ID and an optional retailer language ID as parameters and returns the formatted category URL.
This will output the SEO-friendly URL of the category with ID 12 and language ID 1.
The getLinkRewrite function is part of the Category class in the Prestashop library. Therefore, it is included in the "classes/Category.php" file.
Package/library: Prestashop.
PHP Category::getLinkRewrite - 27 examples found. These are the top rated real world PHP examples of Category::getLinkRewrite extracted from open source projects. You can rate examples to help us improve the quality of examples.