This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In Canvas admin-interface.php | |
// executed on main theme options page | |
if ( $pagenow == 'admin.php' && isset( $_GET['page'] ) && $_GET['page'] == 'woothemes' ) { | |
if ( get_option( 'framework_woo_theme_version_checker' ) == 'true' ) { add_action( 'admin_notices', 'woo_theme_update_notice', 10 ); } | |
// Which calls theme update notice (if it's not disabled) | |
if ( ! function_exists( 'woo_theme_update_notice' ) ) { | |
function woo_theme_update_notice () { | |
$theme_data = get_theme_data( get_template_directory() . '/style.css' ); |
NewerOlder