' . '
' . esc_html__( 'Thank you for using "Arkhe" !', 'arkhe' ) . '
' . '' . esc_html__( 'Go to the theme page', 'arkhe' ) . '
' . ''; } ); // add_action( 'admin_notices', '\Arkhe_Theme\arkhe_theme_beta_message' ); // function arkhe_theme_beta_message() { // 管理者にだけテーマに関する重要なお知らせを表示 // if ( current_user_can( 'administrator' ) ) { // // delete_transient( 'arkhe_notice_message' ); // $json = get_transient( 'arkhe_notice_message' ); // if ( ! $json ) { // $response = wp_remote_get( 'https://looscdn.com/cdn/curltest/json/test.json' ); // $json = wp_remote_retrieve_body( $response ); // set_transient( 'arkhe_notice_message', $json, 1 * DAY_IN_SECONDS ); // } // $notice_data = json_decode( $json, true ); // $message = $notice_data['message']; // $links = $notice_data['links']; // echo '' . esc_html( $message ) . '
';
// foreach ( $links as $link ) {
// echo '' . esc_html( $link['text'] ) . '';
// }
// echo '