[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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

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

Defines 4 functions

  twentyseventeen_switch_theme()
  twentyseventeen_upgrade_notice()
  twentyseventeen_customize()
  twentyseventeen_preview()

Functions
Functions that are not part of a class:

twentyseventeen_switch_theme()   X-Ref
Prevent switching to Twenty Seventeen on old versions of WordPress.

Switches to the default theme.

since: Twenty Seventeen 1.0

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

Prints an update nag after an unsuccessful attempt to switch to
Twenty Seventeen on WordPress versions prior to 4.7.

since: Twenty Seventeen 1.0

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

since: Twenty Seventeen 1.0

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

since: Twenty Seventeen 1.0



Generated: Sat Apr 27 01:00:02 2024 Cross-referenced by PHPXref 0.7.1