Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Root last won the day on June 5

Root had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Root's Achievements


Newbie (1/14)

  • One Month Later
  • Dedicated
  • Week One Done
  • Conversation Starter
  • First Post

Recent Badges



  1. The Jetpack plugin comes with a number of blocks and editor extensions. One of those features extends the existing Media blocks, and adds an option to find and upload images from Google Photos or Pexels: While this can be super useful when you use Google Photos or need to find free stock photos for your posts, you may sometimes prefer to only see the default “Media Library” option. but no option to disable this function. To do so, you can add the following snippet to a functionality plugin on your site: add this code below wp-config.php /** * Remove Jetpack's External Media feature. */ add_action( 'enqueue_block_editor_assets', function () { $disable_external_media = <<<JS document.addEventListener( 'DOMContentLoaded', function() { wp.hooks.removeFilter( 'blocks.registerBlockType', 'external-media/individual-blocks' ); wp.hooks.removeFilter( 'editor.MediaUpload', 'external-media/replace-media-upload' ); } ); JS; wp_add_inline_script( 'jetpack-blocks-editor', $disable_external_media ); } );
  • Create New...