Name), sprintf(esc_html__('%s theme', 'boston'), $theme_data->Name), 'edit_theme_options', 'boston', 'boston_theme_info_page'); } } if ( ! function_exists( 'boston_admin_scripts' ) ) { /** * Enqueue scripts for admin page only: Theme info page */ function boston_admin_scripts( $hook ) { if ($hook === 'appearance_page_boston') { wp_enqueue_style('boston-admin-css', get_template_directory_uri() . '/assets/css/admin.css'); } } } add_action('admin_enqueue_scripts', 'boston_admin_scripts'); if ( ! function_exists( 'boston_theme_info_page' ) ) { function boston_theme_info_page() { $theme_data = wp_get_theme(); // Check for current viewing tab $tab = null; if ( isset( $_GET['tab'] ) ) { $tab = $_GET['tab']; } else { $tab = null; } ?>

Name, $theme_data->Version); ?>

<?php esc_attr_e('Theme Screenshot', 'boston'); ?>

'.esc_html__( 'Hey,', 'boston').'', ''. esc_html__( 'download it', 'boston' ) .'' ); ?>

How can I contribute?

WordPress.org. We\'d really appreciate it!', 'boston'); ?>