Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save amboutwe/855f7c56ed524c7d2fc58f26b14db49c to your computer and use it in GitHub Desktop.

Select an option

Save amboutwe/855f7c56ed524c7d2fc58f26b14db49c to your computer and use it in GitHub Desktop.

Revisions

  1. amboutwe created this gist Oct 24, 2023.
    9 changes: 9 additions & 0 deletions yoast_seo_settings_remove_emoji_selector.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <?php
    /********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/

    /* Disable Yoast SEO Emoji Script
    * Credit: Yoast team
    * Last Tested: Oct 24 2023 using Yoast SEO (free and premium) 21.4 on WordPress 6.3.2
    */

    add_filter( 'wpseo_premium_load_emoji_picker', '__return_false' );