[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentysixteen/inc/ -> back-compat.php (summary)

Twenty Sixteen back compat functionality Prevents Twenty Sixteen from running on WordPress versions prior to 4.4, since this theme is not meant to be backward compatible beyond that and relies on many newer functions and markup changes introduced in 4.4.

File Size: 78 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  twentysixteen_switch_theme()
  twentysixteen_upgrade_notice()
  twentysixteen_customize()
  twentysixteen_preview()

Functions
Functions that are not part of a class:

twentysixteen_switch_theme()   X-Ref
Prevent switching to Twenty Sixteen on old versions of WordPress.

Switches to the default theme.

since: Twenty Sixteen 1.0

twentysixteen_upgrade_notice()   X-Ref
Adds a message for unsuccessful theme switch.

Prints an update nag after an unsuccessful attempt to switch to
Twenty Sixteen on WordPress versions prior to 4.4.

since: Twenty Sixteen 1.0

twentysixteen_customize()   X-Ref
Prevents the Customizer from being loaded on WordPress versions prior to 4.4.

since: Twenty Sixteen 1.0

twentysixteen_preview()   X-Ref
Prevents the Theme Preview from being loaded on WordPress versions prior to 4.4.

since: Twenty Sixteen 1.0



Generated: Wed Oct 23 01:00:03 2019 Cross-referenced by PHPXref 0.7.1