render_navigation(); ?>

render_navigation(); $changelog = get_parent_theme_file_path() . '/changelog.txt'; if ( ! file_exists( $changelog ) ) { $changelog = esc_html__( 'Changelog file not found.', 'gautam' ); } elseif ( ! is_readable( $changelog ) ) { $changelog = esc_html__( 'Changelog file not readable.', 'gautam' ); } else { global $wp_filesystem; // Check if the the global filesystem isn't setup yet. if ( is_null( $wp_filesystem ) ) { WP_Filesystem(); } $changelog = $wp_filesystem->get_contents( $changelog ); } ?>

1.1.0

render_navigation(); ?>

render_navigation(); ?>

get_navigation_items(); ?>
array( 'id' => 'dashboard', 'name' => esc_html__( 'Welcome', 'gautam' ), 'icon' => '', 'url' => menu_page_url( 'gautam-dashboard', false ), ), 'changelog' => array( 'id' => 'changelog', 'name' => esc_html__( 'Changelog', 'gautam' ), 'icon' => '', 'url' => menu_page_url( 'gautam-changelog', false ), ), 'plugins' => array( 'id' => 'plugins', 'name' => esc_html__( 'Plugins', 'gautam' ), 'icon' => '', 'url' => menu_page_url( 'gautam-plugins', false ), ), 'support' => array( 'id' => 'support', 'name' => esc_html__( 'Support', 'gautam' ), 'icon' => '', 'url' => menu_page_url( 'gautam-support', false ), ), ); return $items; } } endif; /** * The function which returns the one Gautam_Dashboard instance. * * Use this function like you would a global variable, except without needing * to declare the global. * * Example: * * @return object */ function gautam_dashboard() { return Gautam_Dashboard::instance(); } gautam_dashboard();