display( 'Name' ), $auto_repair_center_theme->display( 'Name' ), 'manage_options', 'auto-repair-center', 'auto_repair_center_do_admin_page' ); } add_action( 'admin_menu', 'auto_repair_center_admin_menu_page' ); function auto_repair_center_admin_theme_style() { wp_enqueue_style('auto-repair-center-custom-admin-style', esc_url(get_template_directory_uri()) . '/get-started/getstart.css'); } add_action('admin_enqueue_scripts', 'auto_repair_center_admin_theme_style'); /** * Render admin page. * * @since 1.0.0 */ function auto_repair_center_do_admin_page() { $auto_repair_center_theme = wp_get_theme( get_template() ); ?>
';
foreach ( $changelog_array as $value ) {
// Add opening and closing div and span, only the first span element will have the heading class.
$value = '- ' . $value . '';
// Append the value to the changelog.
$changelog .= $value;
}
$changelog .= '';
return wp_kses_post( $changelog );
}
/**
* Import Demo data for theme using catch themes demo import plugin
*/
function auto_repair_center_free_vs_pro() {
if ( isset( $_GET['tab'] ) && 'free_vs_pro' === $_GET['tab'] ) {
?>