[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Twenty Nineteen back compat functionality Prevents Twenty Nineteen 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

  twentynineteen_switch_theme()
  twentynineteen_upgrade_notice()
  twentynineteen_customize()
  twentynineteen_preview()

Functions
Functions that are not part of a class:

twentynineteen_switch_theme()   X-Ref
Prevent switching to Twenty Nineteen on old versions of WordPress.

Switches to the default theme.


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

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


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


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




Generated : Thu Apr 18 08:20:02 2024 Cross-referenced by PHPXref