Filter theme compat files. Themes can add their own compat files here if they like. For example: add_filter( ‘classic_theme_helper_theme_compat_files’, ‘mytheme_classic_theme_helper_theme_compat_file’ ); function mytheme_classic_theme_helper_theme_compat_file( $files ) { $files[‘mytheme’] = locate_template( ‘jetpack-compat.php’ ); return $files; }
Parameters
- Associative
array
array of theme compat files to load.
Changelog
- Introduced in Jetpack 0.2.0