Overview

Classes

  • CMLLanguage
  • CMLPost
  • CMLTranslations
  • CMLUtils

Functions

  • cml_dropdown_langs
  • cml_get_browser_lang
  • cml_get_menu
  • cml_get_notice
  • cml_get_the_link
  • cml_is_homepage
  • cml_show_flags
  • Overview
  • Function
  • Tree

Function cml_is_homepage

Check if current url ( or $url ) is the homepage

If is set a static page as homepage, the plugin check if current page is front page or its translation

Located at utils.php
Parameters summary
string $url = null - ( optional ) url to check
API documentation generated by ApiGen 2.8.0