Skip to content

v1.2.0

Compare
Choose a tag to compare
released this 17 Sep 09:17
· 2193 commits to master since this release
  • Removed constants

Do not use the FW_* constants, they are deprecated and will be removed in the next major release.

Avoid constants

How to migrate from constants to functions:

  • Replace the FW_CT_* constants with the fw_get_stylesheet_customizations_directory() and fw_get_stylesheet_customizations_directory_uri() functions
  • Replace the FW_PT_* constants with the fw_get_template_customizations_directory() and fw_get_template_customizations_directory_uri()
  • Replace the FW_DIR, FW_EXTENSIONS_DIR, FW_URI, FW_EXTENSIONS_URI with the fw_get_framework_directory() and fw_get_framework_directory_uri()