Skip to navigation Skip to content
San-Osclass
  • Home
  • Shop
  • My Account
  • Blog
  • Home
  • Shop
  • My Account
  • Blog
  • 0 $ 0 items
Home / Documents / osc_priv_count_categories()
  • Categories
25

osc_priv_count_categories()

[php]osc_priv_count_categories()[/php]

Gets the number of categories

Code osc_category_field():

[php]

function osc_priv_count_categories() {
return View::newInstance()->_count(‘categories’);
}

/**
*
* @return int
*/

[/php]

Post navigation

Previous post: osc_category_field()
Next post: osc_priv_count_subcategories()
Category
  • Themes
  • Plugins
Blog
  • Job Board NEW
  • Realty Pro update 1.2.0
  • Realty Pro update 1.1.3
Pages
  • Blog
  • Privacy Policy
  • Contacts
  • Terms & Conditions
Search
  • My Account
  • Search
  • 0
© San-Osclass 2021