[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)




/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: 76 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 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.

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.

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

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

Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7