sudo apt install fonts-noto-color-emoji
- Open
~/.config/fontconfig/conf.d/01-emoji.conffile in an editor. - Copy-paste the lines below:
I set up the wiki page for the valet-wsl project and moved the install guide there. This way it can have user contributions. Please have all disscussions or issues under the valet-wsl project so I can be aware of it. Please go to Valet Wsl Installation Guide
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "os/exec" | |
| "strings" | |
| ) | |
| func main() { |
| <?php | |
| /* | |
| Based on http://github.com/deliciousbrains/wp-migrate-db-pro-tweaks | |
| */ | |
| class ACF_WP_Migrate_DB_Pro_Tweaks { | |
| function __construct() { | |
| add_filter( 'wpmdb_preserved_options', array( $this, 'preserved_options' ) ); | |
| } |
| function jtd_acf_auto_set_license_keys() { | |
| if ( !get_option('acf_pro_license') && defined('ACF_5_KEY') ) { | |
| $save = array( | |
| 'key' => ACF_5_KEY, | |
| 'url' => home_url() | |
| ); | |
| $save = maybe_serialize($save); |
| <?php | |
| class My_Custom_My_Account_Endpoint { | |
| /** | |
| * Custom endpoint name. | |
| * | |
| * @var string | |
| */ | |
| public static $endpoint = 'my-custom-endpoint'; |
| <?php if (!defined('ABSPATH')) die('Restricted Area'); | |
| /* | |
| * Plugin Name: Disable Yoast SEO Notifications | |
| * Description: Hide annoying notifications after each upgrade of Yoast SEO plugin and others admin notices. | |
| * Version: 1.1 | |
| * Author: Aurélien Denis | |
| * Author URI: https://wpchannel.com/ | |
| */ |
| <?php | |
| /** | |
| * How to integrate WordPress Core updates with your custom Plugin or Theme | |
| * | |
| * Filter the `update_plugins` transient to report your plugin as out of date. | |
| * Themes have a similar transient you can filter. | |
| */ | |
| add_filter( 'site_transient_update_plugins', 'wprp_extend_filter_update_plugins' ); | |
| add_filter( 'transient_update_plugins', 'wprp_extend_filter_update_plugins' ); | |
| function wprp_extend_filter_update_plugins( $update_plugins ) { |