Skip to content

Instantly share code, notes, and snippets.

@gdarko
Created June 19, 2020 10:09
Show Gist options
  • Save gdarko/92edda496c9eb27c0f5d0060ea947672 to your computer and use it in GitHub Desktop.
Save gdarko/92edda496c9eb27c0f5d0060ea947672 to your computer and use it in GitHub Desktop.
Hide search option in Wp Vimeo Videos upload block
<?php
/**
* Hide search option in WP Vimeo Videos
* @return void
*/
function wvv_disable_upload_options() {
echo '<style>.dgv-vimeo-upload-form > .dgv-vimeo-form-row > label:last-child { display: none !important;}</style>';
}
add_action('admin_head', 'wvv_disable_search_option');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment