$frameTypes, 'shortcodePrompt' => __( 'Insert: Press Enter. or; Copy to clipboard: Ctrl+C, Esc', 'arcade-ready-tr' ) ); return $translation_array; } public static function buildGameList() { global $wpdb; $query = 'SELECT ID,post_title FROM ' . $wpdb->posts . ' WHERE post_status = "publish" AND post_type = "ar_games"'; $results = $wpdb->get_results( $query, ARRAY_A ); $html = '

' . __( 'List of games:', 'arcade-ready-tr' ) . '

' . _x( 'close', 'Close the games list', 'arcade-ready-tr' ) . '
'; echo $html; } public static function showGamesListButton( ) { if( get_post_type() != 'ar_games' ) { echo ' ' . _x( 'Show Games List', 'Show games list button text', 'arcade-ready-tr' ) . ''; } } public static function uninstallPlugin() { delete_option( 'ArcadeReadyOptions' ); } } ?>